mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-01-11 16:48:42 +00:00
minor tpl and bug fixes
This commit is contained in:
parent
0a298d6cca
commit
7ce25fdea1
|
|
@ -162,7 +162,7 @@ final class BackendController extends Controller
|
|||
|
||||
$view->addData('interface', $interface);
|
||||
|
||||
$lang = include __DIR__ . '/../Interfaces/' . $interface->getInterfacePath() . '/' . $response->getHeader()->getL11n()->getLanguage() . '.lang.php';
|
||||
$lang = include __DIR__ . '/../Interfaces/' . $interface->getInterfacePath() . '/Lang/' . $response->getHeader()->getL11n()->getLanguage() . '.lang.php';
|
||||
$view->addData('lang', $lang);
|
||||
|
||||
return $view;
|
||||
|
|
|
|||
27
Interfaces/GSD/Lang/de.lang.php
Normal file
27
Interfaces/GSD/Lang/de.lang.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Exchange
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'Assets' => 'Anlagevermögen',
|
||||
'Accounts' => 'Konten',
|
||||
'Articles' => 'Artikel',
|
||||
'CostCenters' => 'Kostenstellen',
|
||||
'CostObjects' => 'Kostenträger',
|
||||
'Customers' => 'Kunden',
|
||||
'Invoices' => 'Rechnungen',
|
||||
'Options' => 'Optionen',
|
||||
'Postings' => 'Buchungen',
|
||||
'Stocks' => 'Lager',
|
||||
'Suppliers' => 'Lieferanten',
|
||||
];
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header><h1><?= $this->getHtml('Import') ?> - GSD</h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form id="fImport" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/api}admin/exchange/import/profile?{?}&exchange=GSD&csrf={$CSRF}'); ?>">
|
||||
<section class="portlet">
|
||||
<form id="fImport" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/api}admin/exchange/import/profile?{?}&exchange=GSD&csrf={$CSRF}'); ?>">
|
||||
<div class="portlet-head"><?= $this->getHtml('Import') ?> - GSD</div>
|
||||
<div class="portlet-body">
|
||||
<table class="layout wf-100" style="table-layout: fixed">
|
||||
<tbody>
|
||||
<tr><td><label for="iHost"><?= $this->getHtml('Host') ?></label>
|
||||
|
|
@ -74,11 +73,12 @@
|
|||
<label for="iArticles"><?= $lang['Articles']; ?></label>
|
||||
</span>
|
||||
</table>
|
||||
<tr><td>
|
||||
<input type="submit" value="<?= $this->getHtml('Import'); ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input type="submit" value="<?= $this->getHtml('Import'); ?>">
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
17
Interfaces/Intrexx/Lang/en.lang.php
Normal file
17
Interfaces/Intrexx/Lang/en.lang.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Exchange
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
return [
|
||||
|
||||
];
|
||||
0
Interfaces/Intrexx/import.tpl.php
Normal file
0
Interfaces/Intrexx/import.tpl.php
Normal file
20
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
20
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Exchange
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Dashboard' => 'Dashboard',
|
||||
'Exchange' => 'Exchange',
|
||||
'Export' => 'Export',
|
||||
'Import' => 'Import',
|
||||
]];
|
||||
32
Theme/Backend/Lang/de.lang.php
Normal file
32
Theme/Backend/Lang/de.lang.php
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\Exchange
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Exchange' => [
|
||||
'Database' => 'Datenbank',
|
||||
'End' => 'Ende',
|
||||
'Exchange' => 'Exchange',
|
||||
'Export' => 'Export',
|
||||
'Exports' => 'Exporte',
|
||||
'File' => 'Dateien',
|
||||
'Host' => 'Host',
|
||||
'Import' => 'Import',
|
||||
'Imports' => 'Importe',
|
||||
'Login' => 'Login',
|
||||
'Options' => 'Optionen',
|
||||
'Password' => 'Passwort',
|
||||
'Port' => 'Port',
|
||||
'Start' => 'Start',
|
||||
'Title' => 'Titel',
|
||||
'Website' => 'Webseite',
|
||||
]];
|
||||
|
|
@ -12,19 +12,16 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
*/
|
||||
/** @var \phpOMS\Views\View $this */
|
||||
$interfaces = $this->getData('interfaces');
|
||||
|
||||
echo $this->getData('nav')->render();
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head"><?= $this->getHtml('Exports') ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||
<table class="default">
|
||||
<caption><?= $this->getHtml('Exports') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
|
|
@ -38,6 +35,6 @@ echo $this->getData('nav')->render();
|
|||
<tr><td colspan="2" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,19 +12,16 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
*/
|
||||
/** @var \phpOMS\Views\View $this */
|
||||
$interfaces = $this->getData('interfaces');
|
||||
|
||||
echo $this->getData('nav')->render();
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="box wf-100">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head"><?= $this->getHtml('Imports') ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||
<table class="default">
|
||||
<caption><?= $this->getHtml('Imports') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="wf-100"><?= $this->getHtml('Title') ?>
|
||||
|
|
@ -38,6 +35,6 @@ echo $this->getData('nav')->render();
|
|||
<tr><td colspan="2" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user