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