mirror of
https://github.com/Karaka-Management/oms-Customs.git
synced 2026-02-13 08:58:41 +00:00
fix languages 5
This commit is contained in:
parent
403c7e5f8c
commit
c142635cb8
|
|
@ -25,16 +25,12 @@ return ['Customs' => [
|
||||||
'Country' => 'Land',
|
'Country' => 'Land',
|
||||||
'Detail' => 'Detail',
|
'Detail' => 'Detail',
|
||||||
'Birthday' => 'Geburtstag',
|
'Birthday' => 'Geburtstag',
|
||||||
'Phone' => 'Telefon',
|
|
||||||
'Remark' => 'Bemerkung',
|
'Remark' => 'Bemerkung',
|
||||||
'Sanctions' => 'Sanktionen',
|
'Sanctions' => 'Sanktionen',
|
||||||
'Sanction' => 'Sanktion',
|
|
||||||
'IdentificationNumber' => 'Identifikationsnummer',
|
'IdentificationNumber' => 'Identifikationsnummer',
|
||||||
'MeasureType' => 'Measure Type',
|
'MeasureType' => 'Measure Type',
|
||||||
'Footnote' => 'Fußnote',
|
'Footnote' => 'Fußnote',
|
||||||
'FootnoteDescription' => 'Fußnote Beschreibung',
|
|
||||||
'ExportDuty' => 'Export Zoll',
|
'ExportDuty' => 'Export Zoll',
|
||||||
'ImportDuty' => 'Import Zoll',
|
'ImportDuty' => 'Import Zoll',
|
||||||
'AddCode' => 'Add Code',
|
'AddCode' => 'Add Code',
|
||||||
'AddDescription' => 'Add Beschreibung',
|
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -25,16 +25,12 @@ return ['Customs' => [
|
||||||
'Country' => 'Country',
|
'Country' => 'Country',
|
||||||
'Detail' => 'Detail',
|
'Detail' => 'Detail',
|
||||||
'Birthday' => 'Birthday',
|
'Birthday' => 'Birthday',
|
||||||
'Phone' => 'Phone',
|
|
||||||
'Remark' => 'Remark',
|
'Remark' => 'Remark',
|
||||||
'Sanctions' => 'Sanctions',
|
'Sanctions' => 'Sanctions',
|
||||||
'Sanction' => 'Sanction',
|
|
||||||
'IdentificationNumber' => 'Identification Number',
|
'IdentificationNumber' => 'Identification Number',
|
||||||
'MeasureType' => 'Measure Type',
|
'MeasureType' => 'Measure Type',
|
||||||
'Footnote' => 'Footnote',
|
'Footnote' => 'Footnote',
|
||||||
'FootnoteDescription' => 'Footnote Description',
|
|
||||||
'ExportDuty' => 'Export Duty',
|
'ExportDuty' => 'Export Duty',
|
||||||
'ImportDuty' => 'Import Duty',
|
'ImportDuty' => 'Import Duty',
|
||||||
'AddCode' => 'Add Code',
|
'AddCode' => 'Add Code',
|
||||||
'AddDescription' => 'Add Description',
|
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,11 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use phpOMS\Localization\ISO3166NameEnum;
|
||||||
use phpOMS\Uri\UriFactory;
|
use phpOMS\Uri\UriFactory;
|
||||||
|
|
||||||
$sanctions = $this->data['sanctions'] ?? [];
|
$sanctions = $this->data['sanctions'] ?? [];
|
||||||
|
$countries = ISO3166NameEnum::getConstants();
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
|
|
@ -39,7 +41,12 @@ $sanctions = $this->data['sanctions'] ?? [];
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iCountry"><?= $this->getHtml('Country'); ?></label>
|
<label for="iCountry"><?= $this->getHtml('Country'); ?></label>
|
||||||
<input type="text" id="iCountry" name="country" value="<?= $this->printHtml($this->request->getDataString('country')); ?>">
|
<select id="iCountry" name="country">
|
||||||
|
<option value="">
|
||||||
|
<?php foreach ($countries as $value) : ?>
|
||||||
|
<option value="<?= $this->printHtml($value); ?>"<?= $this->printHtml($value) === $this->printHtml($this->request->getDataString('country')) ? ' selected' : ''; ?>><?= $this->printHtml($value); ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user