mirror of
https://github.com/Karaka-Management/oms-Production.git
synced 2026-02-13 12:08:42 +00:00
Case fix!
This commit is contained in:
parent
99900b9e5c
commit
d507b1ed06
20
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
20
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
$MODLANG['Navigation'] = [
|
||||||
|
'Articles' => 'Articles',
|
||||||
|
'Production' => 'Production',
|
||||||
|
'Process' => 'Process',
|
||||||
|
];
|
||||||
17
Theme/Backend/Lang/api.en.lang.php
Normal file
17
Theme/Backend/Lang/api.en.lang.php
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
$MODLANG[1] = [
|
||||||
|
];
|
||||||
30
Theme/Backend/Lang/en.lang.php
Normal file
30
Theme/Backend/Lang/en.lang.php
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
$MODLANG['Production'] = [
|
||||||
|
'Article' => 'Article',
|
||||||
|
'Done' => 'Done',
|
||||||
|
'Due' => 'Due',
|
||||||
|
'For' => 'For',
|
||||||
|
'Name' => 'Name',
|
||||||
|
'Orderer' => 'Orderer',
|
||||||
|
'Ordered' => 'Ordered',
|
||||||
|
'Process' => 'Process',
|
||||||
|
'Product' => 'Product',
|
||||||
|
'Productions' => 'Productions',
|
||||||
|
'Quantity' => 'Quantity',
|
||||||
|
'Start' => 'Start',
|
||||||
|
'Status' => 'Status',
|
||||||
|
];
|
||||||
19
Theme/Backend/process-create.tpl.php
Normal file
19
Theme/Backend/process-create.tpl.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @var \phpOMS\Views\View $this
|
||||||
|
*/
|
||||||
|
$task = new \Modules\Tasks\Models\Task(null);
|
||||||
19
Theme/Backend/process-list.tpl.php
Normal file
19
Theme/Backend/process-list.tpl.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @var \phpOMS\Views\View $this
|
||||||
|
*/
|
||||||
|
$task = new \Modules\Tasks\Models\Task(null);
|
||||||
19
Theme/Backend/process-single.tpl.php
Normal file
19
Theme/Backend/process-single.tpl.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @var \phpOMS\Views\View $this
|
||||||
|
*/
|
||||||
|
$task = new \Modules\Tasks\Models\Task(null);
|
||||||
19
Theme/Backend/production-create.tpl.php
Normal file
19
Theme/Backend/production-create.tpl.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @var \phpOMS\Views\View $this
|
||||||
|
*/
|
||||||
|
$task = new \Modules\Tasks\Models\Task(null);
|
||||||
58
Theme/Backend/production-list.tpl.php
Normal file
58
Theme/Backend/production-list.tpl.php
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @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(1 / 25);
|
||||||
|
$footerView->setPage(1);
|
||||||
|
$footerView->setResults(1);
|
||||||
|
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<section class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->l11n->lang['Production']['Productions']; ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->l11n->lang['Production']['Status']; ?>
|
||||||
|
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||||
|
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||||
|
<td class="wf-100"><?= $this->l11n->lang['Production']['Article']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Production']['Quantity']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Production']['Start']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Production']['Due']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Production']['Done']; ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr><td colspan="8"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<?php $c = 0; foreach ([] as $key => $value) : $c++;
|
||||||
|
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?id=' . $value->getId()); ?>
|
||||||
|
<tr>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getParent(); ?></a>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getUnit(); ?></a>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php if($c === 0) : ?>
|
||||||
|
<tr>
|
||||||
|
<td colspan="8" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
Loading…
Reference in New Issue
Block a user