mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-01-11 01:28:40 +00:00
code fixes
This commit is contained in:
parent
1a168e5aa9
commit
dcf4322140
|
|
@ -182,7 +182,6 @@ final class BackendController extends Controller
|
|||
$view->data['units'] = UnitMapper::getAll()
|
||||
->execute();
|
||||
|
||||
/** @var \Modules\Attribute\Models\AttributeType[] */
|
||||
$view->data['attributeTypes'] = ContractAttributeTypeMapper::getAll()
|
||||
->with('l11n')
|
||||
->where('l11n/language', $response->header->l11n->language)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Attributes' => 'Attribute',
|
||||
'Attributes' => 'Attribute',
|
||||
'Contract' => 'Vertrag',
|
||||
'ContractTypes' => 'Vertragsarten',
|
||||
'Contracts' => 'Verträge',
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Attributes' => 'Attributes',
|
||||
'Attributes' => 'Attributes',
|
||||
'Contract' => 'Contract',
|
||||
'ContractTypes' => 'Types',
|
||||
'Contracts' => 'Contracts',
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<tbody>
|
||||
<?php
|
||||
$count = 0;
|
||||
$now = new \DateTime('now');
|
||||
$now = new \DateTime('now');
|
||||
foreach ($this->data['children'] as $key => $value) :
|
||||
++$count;
|
||||
$url = UriFactory::build('{/base}/contract/view?{?}&id=' . $value->id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user