mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-02-10 05:58:41 +00:00
minor tpl and bug fixes
This commit is contained in:
parent
df2a40b510
commit
3373b22c14
39
Models/NullSupplier.php
Normal file
39
Models/NullSupplier.php
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\SupplierManagement\Models
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\SupplierManagement\Models;
|
||||
|
||||
/**
|
||||
* Null model
|
||||
*
|
||||
* @package Modules\SupplierManagement\Models
|
||||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*/
|
||||
final class NullSupplier extends Supplier
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param int $id Model id
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct(int $id = 0)
|
||||
{
|
||||
$this->id = $id;
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
19
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
19
Theme/Backend/Lang/Navigation.de.lang.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\SupplierManagement
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Create' => 'Erstelle',
|
||||
'List' => 'Liste',
|
||||
'Suppliers' => 'Lieferanten',
|
||||
]];
|
||||
69
Theme/Backend/Lang/de.lang.php
Normal file
69
Theme/Backend/Lang/de.lang.php
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.4
|
||||
*
|
||||
* @package Modules\SupplierManagement
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['SupplierManagement' => [
|
||||
'Accounting' => 'Buchhaltung',
|
||||
'Address' => 'Addresse',
|
||||
'Addresses' => 'Addressen',
|
||||
'AreaManager' => 'Area Manager',
|
||||
'Articlegroup' => 'Artikelgruppe',
|
||||
'Bonus' => 'Bonus',
|
||||
'Business' => 'Business',
|
||||
'City' => 'Stadt',
|
||||
'Client' => 'Kunde',
|
||||
'Clients' => 'Kunden',
|
||||
'Contact' => 'Kontakt',
|
||||
'Country' => 'Land',
|
||||
'Creditcard' => 'Kreditkarte',
|
||||
'Date' => 'Datum',
|
||||
'Default' => 'Standard',
|
||||
'Delivery' => 'Lieferung',
|
||||
'Discount' => 'Rabatt',
|
||||
'DiscountP' => 'Rabatt %',
|
||||
'Email' => 'Email',
|
||||
'Fax' => 'Fax',
|
||||
'Files' => 'Dateien',
|
||||
'Freightage' => 'Frachtkosten',
|
||||
'Group' => 'Gruppe',
|
||||
'ID' => 'ID',
|
||||
'Info' => 'Info',
|
||||
'Invoice' => 'Rechnung',
|
||||
'IsDefault' => 'Ist Standard?',
|
||||
'Log' => 'Log',
|
||||
'Logs' => 'Logs',
|
||||
'Master' => 'Master',
|
||||
'Name' => 'Name',
|
||||
'Name1' => 'Name1',
|
||||
'Name2' => 'Name2',
|
||||
'Name3' => 'Name3',
|
||||
'Office' => 'Büro',
|
||||
'Payment' => 'Zahlung',
|
||||
'PaymentTerm' => 'Zahlungsziel',
|
||||
'Phone' => 'Telefon',
|
||||
'Price' => 'Preis',
|
||||
'Prices' => 'Preise',
|
||||
'Private' => 'Privat',
|
||||
'Productgroup' => 'Produktgruppe',
|
||||
'Purchase' => 'Einkauf',
|
||||
'Quantity' => 'Anzahl',
|
||||
'Sales' => 'Umsatz',
|
||||
'Segment' => 'Segment',
|
||||
'Subtype' => 'Untergruppe',
|
||||
'Supplier' => 'Lieferant',
|
||||
'Suppliers' => 'Lieferanten',
|
||||
'Support' => 'Support',
|
||||
'Type' => 'Typ',
|
||||
'Wire' => 'Wire',
|
||||
'Zip' => 'Postleitzahl',
|
||||
]];
|
||||
|
|
@ -12,19 +12,14 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
$footerView = new \phpOMS\Views\PaginationView($this->l11nManager, $this->request, $this->response);
|
||||
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
||||
$footerView->setPages(20);
|
||||
$footerView->setPage(1);
|
||||
|
||||
/** @var \phpOMS\Views\View $this */
|
||||
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('Suppliers'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||
<table class="default">
|
||||
<caption><?= $this->getHtml('Suppliers'); ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||
|
|
@ -35,16 +30,13 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $this->getHtml('Zip') ?>
|
||||
<td><?= $this->getHtml('Address') ?>
|
||||
<td><?= $this->getHtml('Country') ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="8">
|
||||
<tbody>
|
||||
<?php $count = 0; foreach ([] as $key => $value) : ++$count; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($count === 0) : ?>
|
||||
<tr><td colspan="8" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
<tr><td colspan="8" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user