mirror of
https://github.com/Karaka-Management/oms-StockTaking.git
synced 2026-01-10 18:18:41 +00:00
started with template fixes
This commit is contained in:
parent
b60b0b2f0c
commit
20b2713d89
|
|
@ -10,6 +10,7 @@ return [
|
|||
[
|
||||
'dest' => '\Modules\StockTaking\Controller\ApiController:apiStockTakingCreate',
|
||||
'verb' => RouteVerb::PUT,
|
||||
'csrf' => true,
|
||||
'permission' => [
|
||||
'module' => ApiController::MODULE_NAME,
|
||||
'type' => PermissionType::READ,
|
||||
|
|
@ -21,6 +22,7 @@ return [
|
|||
[
|
||||
'dest' => '\Modules\StockTaking\Controller\ApiController:apiStockTakingEntryCreate',
|
||||
'verb' => RouteVerb::SET,
|
||||
'csrf' => true,
|
||||
'permission' => [
|
||||
'module' => ApiController::MODULE_NAME,
|
||||
'type' => PermissionType::READ,
|
||||
|
|
|
|||
19
Theme/Backend/Lang/de.lang.php
Normal file
19
Theme/Backend/Lang/de.lang.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\StockTaking
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['StockTaking' => [
|
||||
'Stocktaking' => 'Inventur',
|
||||
'Date' => 'Datum',
|
||||
'Status' => 'Status',
|
||||
]];
|
||||
|
|
@ -13,4 +13,7 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['StockTaking' => [
|
||||
'Stocktaking' => 'Stock Taking',
|
||||
'Date' => 'Date',
|
||||
'Status' => 'Status',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ echo $this->data['nav']->render(); ?>
|
|||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td>
|
||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml((string) $value->id); ?></a>
|
||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->id; ?></a>
|
||||
<td data-label="<?= $this->getHtml('Status'); ?>"><a href="<?= $url; ?>"><?= $this->getHtml(':status' . $value->status); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Name'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->name); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Type'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->type->getL11n()); ?></a>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ echo $this->data['nav']->render(); ?>
|
|||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td>
|
||||
<td data-label="<?= $this->getHtml('Date', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml((string) $value->id); ?></a>
|
||||
<td data-label="<?= $this->getHtml('Date', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->id; ?></a>
|
||||
<td>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($count === 0) : ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user