Template & lang fixes

This commit is contained in:
Dennis Eichhorn 2016-12-14 21:27:04 +01:00
parent e60c9cc56c
commit e629f8b092
4 changed files with 26 additions and 8 deletions

View File

@ -1,4 +1,4 @@
z<?php
<?php
/**
* Orange Management
*
@ -13,7 +13,7 @@ z<?php
* @version 1.0.0
* @link http://orange-management.com
*/
return [
return ['Billing' => [
'Address' => 'Address',
'Addresses' => 'Addresses',
'Bonus' => 'Bonus',
@ -35,9 +35,11 @@ return [
'Invoices' => 'Invoices',
'Item' => 'Item',
'Items' => 'Items',
'Media' => 'Media',
'Name' => 'Name',
'Net' => 'Net',
'Offer' => 'Offer',
'Payment' => 'Payment',
'Price' => 'Price',
'Quantity' => 'Quantity',
'Recipient' => 'Recipient',
@ -46,8 +48,9 @@ return [
'Supplier' => 'Supplier',
'SupplierID' => 'Supplier ID',
'Tax' => 'Tax',
'TermsOfDelivery' => 'Terms Of Delivery',
'Total' => 'Total',
'Type' => 'Type',
'Variation' => 'Variation',
'Zip' => 'Zip',
];
]];

View File

@ -24,6 +24,8 @@ echo $this->getData('nav')->render(); ?>
<ul class="tab-links">
<li><label for="c-tab-1"><?= $this->getText('Invoice') ?></label></li>
<li><label for="c-tab-2"><?= $this->getText('Items') ?></label></li>
<li><label for="c-tab-3"><?= $this->getText('Payment') ?></label></li>
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li>
</ul>
</div>
<div class="tab-content">
@ -56,6 +58,10 @@ echo $this->getData('nav')->render(); ?>
<tr><td><select id="iShipment" name="shipment">
<option>
</select>
<tr><td><label for="iTermsOfDelivery"><?= $this->getText('TermsOfDelivery') ?></label>
<tr><td><select id="iTermsOfDelivery" name="termsofdelivery">
<option>
</select>
<tr><td colspan="3"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
</table>
</form>
@ -144,7 +150,7 @@ echo $this->getData('nav')->render(); ?>
<td><input type="number" min="0">
<td><input type="number" min="0" max="100" step="any">
<td><input type="number" min="0" step="any">
<td>
<td><input type="number" min="0" step="any">
<td>
</table>
</div>

View File

@ -1,4 +1,4 @@
z<?php
<?php
/**
* Orange Management
*
@ -13,7 +13,7 @@ z<?php
* @version 1.0.0
* @link http://orange-management.com
*/
return [
return ['Billing' => [
'Address' => 'Address',
'Addresses' => 'Addresses',
'Bonus' => 'Bonus',
@ -35,9 +35,11 @@ return [
'Invoices' => 'Invoices',
'Item' => 'Item',
'Items' => 'Items',
'Media' => 'Media',
'Name' => 'Name',
'Net' => 'Net',
'Offer' => 'Offer',
'Payment' => 'Payment',
'Price' => 'Price',
'Quantity' => 'Quantity',
'Recipient' => 'Recipient',
@ -46,8 +48,9 @@ return [
'Supplier' => 'Supplier',
'SupplierID' => 'Supplier ID',
'Tax' => 'Tax',
'TermsOfDelivery' => 'Terms Of Delivery',
'Total' => 'Total',
'Type' => 'Type',
'Variation' => 'Variation',
'Zip' => 'Zip',
];
]];

View File

@ -24,6 +24,8 @@ echo $this->getData('nav')->render(); ?>
<ul class="tab-links">
<li><label for="c-tab-1"><?= $this->getText('Invoice') ?></label></li>
<li><label for="c-tab-2"><?= $this->getText('Items') ?></label></li>
<li><label for="c-tab-3"><?= $this->getText('Payment') ?></label></li>
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li>
</ul>
</div>
<div class="tab-content">
@ -56,6 +58,10 @@ echo $this->getData('nav')->render(); ?>
<tr><td><select id="iShipment" name="shipment">
<option>
</select>
<tr><td><label for="iTermsOfDelivery"><?= $this->getText('TermsOfDelivery') ?></label>
<tr><td><select id="iTermsOfDelivery" name="termsofdelivery">
<option>
</select>
<tr><td colspan="3"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
</table>
</form>
@ -144,7 +150,7 @@ echo $this->getData('nav')->render(); ?>
<td><input type="number" min="0">
<td><input type="number" min="0" max="100" step="any">
<td><input type="number" min="0" step="any">
<td>
<td><input type="number" min="0" step="any">
<td>
</table>
</div>