mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-15 15:58:41 +00:00
Template, comment and path fixes
This commit is contained in:
parent
e629f8b092
commit
41dba68a95
|
|
@ -16,16 +16,21 @@
|
||||||
return ['Billing' => [
|
return ['Billing' => [
|
||||||
'Address' => 'Address',
|
'Address' => 'Address',
|
||||||
'Addresses' => 'Addresses',
|
'Addresses' => 'Addresses',
|
||||||
|
'AlreadyPaid' => 'Already Paid',
|
||||||
'Bonus' => 'Bonus',
|
'Bonus' => 'Bonus',
|
||||||
|
'Cashback' => 'Cash Back',
|
||||||
'City' => 'City',
|
'City' => 'City',
|
||||||
'Client' => 'Client',
|
'Client' => 'Client',
|
||||||
'ClientID' => 'Client ID',
|
'ClientID' => 'Client ID',
|
||||||
'Confirmation' => 'Confirmation',
|
'Confirmation' => 'Confirmation',
|
||||||
'Country' => 'Country',
|
'Country' => 'Country',
|
||||||
'Created' => 'Created',
|
'Created' => 'Created',
|
||||||
|
'CreditCard' => 'CreditCard',
|
||||||
'CreditNote' => 'Credit Note',
|
'CreditNote' => 'Credit Note',
|
||||||
|
'Date' => 'Date',
|
||||||
'Delivery' => 'Delivery',
|
'Delivery' => 'Delivery',
|
||||||
'DeliveryNote' => 'Delivery Note',
|
'DeliveryNote' => 'Delivery Note',
|
||||||
|
'DirectDebit' => 'DirectDebit',
|
||||||
'Discount' => 'Discount',
|
'Discount' => 'Discount',
|
||||||
'DiscountP' => 'Discount %',
|
'DiscountP' => 'Discount %',
|
||||||
'Due' => 'Due',
|
'Due' => 'Due',
|
||||||
|
|
@ -35,14 +40,19 @@ return ['Billing' => [
|
||||||
'Invoices' => 'Invoices',
|
'Invoices' => 'Invoices',
|
||||||
'Item' => 'Item',
|
'Item' => 'Item',
|
||||||
'Items' => 'Items',
|
'Items' => 'Items',
|
||||||
|
'Log' => 'Log',
|
||||||
|
'Logs' => 'Logs',
|
||||||
'Media' => 'Media',
|
'Media' => 'Media',
|
||||||
|
'MoneyTransfer' => 'Money Transfer',
|
||||||
'Name' => 'Name',
|
'Name' => 'Name',
|
||||||
'Net' => 'Net',
|
'Net' => 'Net',
|
||||||
'Offer' => 'Offer',
|
'Offer' => 'Offer',
|
||||||
'Payment' => 'Payment',
|
'Payment' => 'Payment',
|
||||||
|
'Prepaid' => 'Prepaid',
|
||||||
'Price' => 'Price',
|
'Price' => 'Price',
|
||||||
'Quantity' => 'Quantity',
|
'Quantity' => 'Quantity',
|
||||||
'Recipient' => 'Recipient',
|
'Recipient' => 'Recipient',
|
||||||
|
'Select' => 'Select',
|
||||||
'Shipment' => 'Shipment',
|
'Shipment' => 'Shipment',
|
||||||
'Source' => 'Source',
|
'Source' => 'Source',
|
||||||
'Supplier' => 'Supplier',
|
'Supplier' => 'Supplier',
|
||||||
|
|
@ -51,6 +61,7 @@ return ['Billing' => [
|
||||||
'TermsOfDelivery' => 'Terms Of Delivery',
|
'TermsOfDelivery' => 'Terms Of Delivery',
|
||||||
'Total' => 'Total',
|
'Total' => 'Total',
|
||||||
'Type' => 'Type',
|
'Type' => 'Type',
|
||||||
|
'Upload' => 'Upload',
|
||||||
'Variation' => 'Variation',
|
'Variation' => 'Variation',
|
||||||
'Zip' => 'Zip',
|
'Zip' => 'Zip',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<li><label for="c-tab-2"><?= $this->getText('Items') ?></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-3"><?= $this->getText('Payment') ?></label></li>
|
||||||
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li>
|
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li>
|
||||||
|
<li><label for="c-tab-5"><?= $this->getText('Logs') ?></label></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
|
@ -155,5 +156,90 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Payment') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tr><td><label for="iType"><?= $this->getText('Type') ?></label>
|
||||||
|
<tr><td><select id="iType" name="type">
|
||||||
|
<option>
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iType"><?= $this->getText('Type') ?></label>
|
||||||
|
<tr><td><select id="iType" name="type">
|
||||||
|
<option><?= $this->getText('MoneyTransfer') ?>
|
||||||
|
<option><?= $this->getText('Prepaid') ?>
|
||||||
|
<option><?= $this->getText('AlreadyPaid') ?>
|
||||||
|
<option><?= $this->getText('CreditCard') ?>
|
||||||
|
<option><?= $this->getText('DirectDebit') ?>
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iDue"><?= $this->getText('Due') ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDue" name="due">
|
||||||
|
<tr><td><label for="iDue"><?= $this->getText('Due') ?> - <?= $this->getText('Cashback') ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDue" name="due">
|
||||||
|
<tr><td><label for="iCashBack"><?= $this->getText('Cashback') ?></label>
|
||||||
|
<tr><td><input type="number" id="iCashBack" name="cashback">
|
||||||
|
<tr><td><label for="iDue"><?= $this->getText('Due') ?> - <?= $this->getText('Cashback') ?> 2</label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDue" name="due">
|
||||||
|
<tr><td><label for="iCashBack2"><?= $this->getText('Cashback') ?> 2</label>
|
||||||
|
<tr><td><input type="number" id="iCashBack2" name="cashback2">
|
||||||
|
<tr><td colspan="3"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-4" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-5" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<?php
|
||||||
|
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
|
||||||
|
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
||||||
|
$footerView->setPages(20);
|
||||||
|
$footerView->setPage(1);
|
||||||
|
?>
|
||||||
|
<div class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->getText('Logs') ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td>IP
|
||||||
|
<td><?= $this->getText('ID', 0, 0); ?>
|
||||||
|
<td><?= $this->getText('Name'); ?>
|
||||||
|
<td class="wf-100"><?= $this->getText('Log'); ?>
|
||||||
|
<td><?= $this->getText('Date'); ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="6"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->request->getOrigin(); ?>
|
||||||
|
<td><?= $this->request->getAccount(); ?>
|
||||||
|
<td><?= $this->request->getAccount(); ?>
|
||||||
|
<td>Create Invoice
|
||||||
|
<td><?= (new \DateTime('now'))->format('Y-m-d H:i:s') ?>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,16 +16,21 @@
|
||||||
return ['Billing' => [
|
return ['Billing' => [
|
||||||
'Address' => 'Address',
|
'Address' => 'Address',
|
||||||
'Addresses' => 'Addresses',
|
'Addresses' => 'Addresses',
|
||||||
|
'AlreadyPaid' => 'Already Paid',
|
||||||
'Bonus' => 'Bonus',
|
'Bonus' => 'Bonus',
|
||||||
|
'Cashback' => 'Cash Back',
|
||||||
'City' => 'City',
|
'City' => 'City',
|
||||||
'Client' => 'Client',
|
'Client' => 'Client',
|
||||||
'ClientID' => 'Client ID',
|
'ClientID' => 'Client ID',
|
||||||
'Confirmation' => 'Confirmation',
|
'Confirmation' => 'Confirmation',
|
||||||
'Country' => 'Country',
|
'Country' => 'Country',
|
||||||
'Created' => 'Created',
|
'Created' => 'Created',
|
||||||
|
'CreditCard' => 'CreditCard',
|
||||||
'CreditNote' => 'Credit Note',
|
'CreditNote' => 'Credit Note',
|
||||||
|
'Date' => 'Date',
|
||||||
'Delivery' => 'Delivery',
|
'Delivery' => 'Delivery',
|
||||||
'DeliveryNote' => 'Delivery Note',
|
'DeliveryNote' => 'Delivery Note',
|
||||||
|
'DirectDebit' => 'DirectDebit',
|
||||||
'Discount' => 'Discount',
|
'Discount' => 'Discount',
|
||||||
'DiscountP' => 'Discount %',
|
'DiscountP' => 'Discount %',
|
||||||
'Due' => 'Due',
|
'Due' => 'Due',
|
||||||
|
|
@ -35,14 +40,19 @@ return ['Billing' => [
|
||||||
'Invoices' => 'Invoices',
|
'Invoices' => 'Invoices',
|
||||||
'Item' => 'Item',
|
'Item' => 'Item',
|
||||||
'Items' => 'Items',
|
'Items' => 'Items',
|
||||||
|
'Log' => 'Log',
|
||||||
|
'Logs' => 'Logs',
|
||||||
'Media' => 'Media',
|
'Media' => 'Media',
|
||||||
|
'MoneyTransfer' => 'Money Transfer',
|
||||||
'Name' => 'Name',
|
'Name' => 'Name',
|
||||||
'Net' => 'Net',
|
'Net' => 'Net',
|
||||||
'Offer' => 'Offer',
|
'Offer' => 'Offer',
|
||||||
'Payment' => 'Payment',
|
'Payment' => 'Payment',
|
||||||
|
'Prepaid' => 'Prepaid',
|
||||||
'Price' => 'Price',
|
'Price' => 'Price',
|
||||||
'Quantity' => 'Quantity',
|
'Quantity' => 'Quantity',
|
||||||
'Recipient' => 'Recipient',
|
'Recipient' => 'Recipient',
|
||||||
|
'Select' => 'Select',
|
||||||
'Shipment' => 'Shipment',
|
'Shipment' => 'Shipment',
|
||||||
'Source' => 'Source',
|
'Source' => 'Source',
|
||||||
'Supplier' => 'Supplier',
|
'Supplier' => 'Supplier',
|
||||||
|
|
@ -51,6 +61,7 @@ return ['Billing' => [
|
||||||
'TermsOfDelivery' => 'Terms Of Delivery',
|
'TermsOfDelivery' => 'Terms Of Delivery',
|
||||||
'Total' => 'Total',
|
'Total' => 'Total',
|
||||||
'Type' => 'Type',
|
'Type' => 'Type',
|
||||||
|
'Upload' => 'Upload',
|
||||||
'Variation' => 'Variation',
|
'Variation' => 'Variation',
|
||||||
'Zip' => 'Zip',
|
'Zip' => 'Zip',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<li><label for="c-tab-2"><?= $this->getText('Items') ?></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-3"><?= $this->getText('Payment') ?></label></li>
|
||||||
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li>
|
<li><label for="c-tab-4"><?= $this->getText('Media') ?></label></li>
|
||||||
|
<li><label for="c-tab-5"><?= $this->getText('Logs') ?></label></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
|
@ -155,5 +156,90 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<input type="radio" id="c-tab-3" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Payment') ?></h1></header>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tr><td><label for="iType"><?= $this->getText('Type') ?></label>
|
||||||
|
<tr><td><select id="iType" name="type">
|
||||||
|
<option>
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iType"><?= $this->getText('Type') ?></label>
|
||||||
|
<tr><td><select id="iType" name="type">
|
||||||
|
<option><?= $this->getText('MoneyTransfer') ?>
|
||||||
|
<option><?= $this->getText('Prepaid') ?>
|
||||||
|
<option><?= $this->getText('AlreadyPaid') ?>
|
||||||
|
<option><?= $this->getText('CreditCard') ?>
|
||||||
|
<option><?= $this->getText('DirectDebit') ?>
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iDue"><?= $this->getText('Due') ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDue" name="due">
|
||||||
|
<tr><td><label for="iDue"><?= $this->getText('Due') ?> - <?= $this->getText('Cashback') ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDue" name="due">
|
||||||
|
<tr><td><label for="iCashBack"><?= $this->getText('Cashback') ?></label>
|
||||||
|
<tr><td><input type="number" id="iCashBack" name="cashback">
|
||||||
|
<tr><td><label for="iDue"><?= $this->getText('Due') ?> - <?= $this->getText('Cashback') ?> 2</label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDue" name="due">
|
||||||
|
<tr><td><label for="iCashBack2"><?= $this->getText('Cashback') ?> 2</label>
|
||||||
|
<tr><td><input type="number" id="iCashBack2" name="cashback2">
|
||||||
|
<tr><td colspan="3"><input type="submit" value="<?= $this->getText('Create', 0, 0); ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-4" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<header><h1><?= $this->getText('Media'); ?></h1></header>
|
||||||
|
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tbody>
|
||||||
|
<tr><td colspan="2"><label for="iMedia"><?= $this->getText('Media'); ?></label>
|
||||||
|
<tr><td><input type="text" id="iMedia" placeholder=" File"><td><button><?= $this->getText('Select'); ?></button>
|
||||||
|
<tr><td colspan="2"><label for="iUpload"><?= $this->getText('Upload'); ?></label>
|
||||||
|
<tr><td><input type="file" id="iUpload" form="fTask"><input form="fTask" type="hidden" name="type"><td>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-5" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<?php
|
||||||
|
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
|
||||||
|
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
|
||||||
|
$footerView->setPages(20);
|
||||||
|
$footerView->setPage(1);
|
||||||
|
?>
|
||||||
|
<div class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->getText('Logs') ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td>IP
|
||||||
|
<td><?= $this->getText('ID', 0, 0); ?>
|
||||||
|
<td><?= $this->getText('Name'); ?>
|
||||||
|
<td class="wf-100"><?= $this->getText('Log'); ?>
|
||||||
|
<td><?= $this->getText('Date'); ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="6"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->request->getOrigin(); ?>
|
||||||
|
<td><?= $this->request->getAccount(); ?>
|
||||||
|
<td><?= $this->request->getAccount(); ?>
|
||||||
|
<td>Create Invoice
|
||||||
|
<td><?= (new \DateTime('now'))->format('Y-m-d H:i:s') ?>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user