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