mirror of
https://github.com/Karaka-Management/oms-SupplierManagement.git
synced 2026-01-11 17:28:41 +00:00
Templating
This commit is contained in:
parent
4089198aed
commit
635f898b8e
|
|
@ -13,7 +13,36 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
*/
|
||||
|
||||
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
|
||||
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
||||
$footerView->setPages(20);
|
||||
$footerView->setPage(1);
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
|
||||
<section class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->lang['SupplierManagement']['Suppliers'] ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||
<td><?= $this->l11n->lang['SupplierManagement']['Name1']; ?>
|
||||
<td><?= $this->l11n->lang['SupplierManagement']['Name2']; ?>
|
||||
<td class="wf-100"><?= $this->l11n->lang['SupplierManagement']['Name3']; ?>
|
||||
<td><?= $this->l11n->lang['SupplierManagement']['City']; ?>
|
||||
<td><?= $this->l11n->lang['SupplierManagement']['Zip']; ?>
|
||||
<td><?= $this->l11n->lang['SupplierManagement']['Address']; ?>
|
||||
<td><?= $this->l11n->lang['SupplierManagement']['Country']; ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="8"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count === 0) : ?>
|
||||
<tr><td colspan="8" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ $MODLANG['SupplierManagement'] = [
|
|||
'Address' => 'Address',
|
||||
'Addresses' => 'Addresses',
|
||||
'Articlegroup' => 'Articlegroup',
|
||||
'City' => 'City',
|
||||
'Contact' => 'Contact',
|
||||
'Country' => 'Country',
|
||||
'Creditcard' => 'Creditcard',
|
||||
|
|
@ -47,6 +48,7 @@ $MODLANG['SupplierManagement'] = [
|
|||
'Subtype' => 'Subtype',
|
||||
'Support' => 'Support',
|
||||
'Supplier' => 'Supplier',
|
||||
'Suppliers' => 'Suppliers',
|
||||
'Type' => 'Type',
|
||||
'Wire' => 'Wire',
|
||||
'Zip' => 'Zip',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user