fix languages 5
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2024-05-18 21:16:17 +00:00
parent 403c7e5f8c
commit c142635cb8
3 changed files with 8 additions and 9 deletions

View File

@ -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',
]];

View File

@ -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',
]];

View File

@ -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">