mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-16 16:28:41 +00:00
Case fix!
This commit is contained in:
parent
011b51eb58
commit
5d5513cb2f
18
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
18
Theme/Backend/Lang/Navigation.en.lang.php
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
$MODLANG['Navigation'] = [
|
||||||
|
'Billing' => 'Billing',
|
||||||
|
];
|
||||||
53
Theme/Backend/Lang/en.lang.php
Normal file
53
Theme/Backend/Lang/en.lang.php
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
$MODLANG['Billing'] = [
|
||||||
|
'Address' => 'Address',
|
||||||
|
'Addresses' => 'Addresses',
|
||||||
|
'Bonus' => 'Bonus',
|
||||||
|
'City' => 'City',
|
||||||
|
'Client' => 'Client',
|
||||||
|
'ClientID' => 'Client ID',
|
||||||
|
'Confirmation' => 'Confirmation',
|
||||||
|
'Country' => 'Country',
|
||||||
|
'Created' => 'Created',
|
||||||
|
'CreditNote' => 'Credit Note',
|
||||||
|
'Delivery' => 'Delivery',
|
||||||
|
'DeliveryNote' => 'Delivery Note',
|
||||||
|
'Discount' => 'Discount',
|
||||||
|
'DiscountP' => 'Discount %',
|
||||||
|
'Due' => 'Due',
|
||||||
|
'Freightage' => 'Freightage',
|
||||||
|
'Gross' => 'Gross',
|
||||||
|
'Invoice' => 'Invoice',
|
||||||
|
'Invoices' => 'Invoices',
|
||||||
|
'Item' => 'Item',
|
||||||
|
'Items' => 'Items',
|
||||||
|
'Name' => 'Name',
|
||||||
|
'Net' => 'Net',
|
||||||
|
'Offer' => 'Offer',
|
||||||
|
'Price' => 'Price',
|
||||||
|
'Quantity' => 'Quantity',
|
||||||
|
'Recipient' => 'Recipient',
|
||||||
|
'Shipment' => 'Shipment',
|
||||||
|
'Source' => 'Source',
|
||||||
|
'Supplier' => 'Supplier',
|
||||||
|
'SupplierID' => 'Supplier ID',
|
||||||
|
'Tax' => 'Tax',
|
||||||
|
'Total' => 'Total',
|
||||||
|
'Type' => 'Type',
|
||||||
|
'Variation' => 'Variation',
|
||||||
|
'Zip' => 'Zip',
|
||||||
|
];
|
||||||
19
Theme/Backend/invoice-archive.tpl.php
Normal file
19
Theme/Backend/invoice-archive.tpl.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @var \phpOMS\Views\View $this
|
||||||
|
*/
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
153
Theme/Backend/invoice-create.tpl.php
Normal file
153
Theme/Backend/invoice-create.tpl.php
Normal file
|
|
@ -0,0 +1,153 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @var \phpOMS\Views\View $this
|
||||||
|
*/
|
||||||
|
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<div class="tabular-2">
|
||||||
|
<section class="box">
|
||||||
|
<ul class="tab-links">
|
||||||
|
<li><label for="c-tab-1"><?= $this->l11n->lang['Billing']['Invoice'] ?></label></li>
|
||||||
|
<li><label for="c-tab-2"><?= $this->l11n->lang['Billing']['Items'] ?></label></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<div class="tab-content">
|
||||||
|
<input type="radio" id="c-tab-1" name="tabular-2" checked>
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<h1><?= $this->l11n->lang['Billing']['Invoice'] ?></h1>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tr><td><label for="iSource"><?= $this->l11n->lang['Billing']['Source'] ?></label>
|
||||||
|
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iSource" name="source"></span>
|
||||||
|
<tr><td><label for="iType"><?= $this->l11n->lang['Billing']['Type'] ?></label>
|
||||||
|
<tr><td><select id="iType" name="type">
|
||||||
|
<option><?= $this->l11n->lang['Billing']['Invoice'] ?>
|
||||||
|
<option><?= $this->l11n->lang['Billing']['Offer'] ?>
|
||||||
|
<option><?= $this->l11n->lang['Billing']['Confirmation'] ?>
|
||||||
|
<option><?= $this->l11n->lang['Billing']['DeliveryNote'] ?>
|
||||||
|
<option><?= $this->l11n->lang['Billing']['CreditNote'] ?>
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iClient"><?= $this->l11n->lang['Billing']['Client'] ?></label>
|
||||||
|
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iClient" name="client"></span>
|
||||||
|
<tr><td><label for="iDelivery"><?= $this->l11n->lang['Billing']['Delivery'] ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDelivery" name="delivery">
|
||||||
|
<tr><td><label for="iDue"><?= $this->l11n->lang['Billing']['Due'] ?></label>
|
||||||
|
<tr><td><input type="datetime-local" id="iDue" name="due">
|
||||||
|
<tr><td><label for="iFreightage"><?= $this->l11n->lang['Billing']['Freightage'] ?></label>
|
||||||
|
<tr><td><input type="number" id="iFreightage" name="freightage">
|
||||||
|
<tr><td><label for="iShipment"><?= $this->l11n->lang['Billing']['Shipment'] ?></label>
|
||||||
|
<tr><td><select id="iShipment" name="shipment">
|
||||||
|
<option>
|
||||||
|
</select>
|
||||||
|
<tr><td colspan="3"><input type="submit" value="<?= $this->l11n->lang[0]['Create'] ?>">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<h1><?= $this->l11n->lang['Billing']['Invoice'] ?></h1>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tr><td><label for="iAddressS"><?= $this->l11n->lang['Billing']['Addresses'] ?></label>
|
||||||
|
<tr><td><select id="iAddressS" name="addressS">
|
||||||
|
<option>
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iIRecipient"><?= $this->l11n->lang['Billing']['Recipient'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iIRecipient" name="irecipient">
|
||||||
|
<tr><td><label for="iAddress"><?= $this->l11n->lang['Billing']['Address'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iAddress" name="address">
|
||||||
|
<tr><td><label for="iZip"><?= $this->l11n->lang['Billing']['Zip'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iZip" name="zip">
|
||||||
|
<tr><td><label for="iCity"><?= $this->l11n->lang['Billing']['City'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iCity" name="city">
|
||||||
|
<tr><td><label for="iCountry"><?= $this->l11n->lang['Billing']['Country'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iCountry" name="country">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-50 floatLeft">
|
||||||
|
<h1><?= $this->l11n->lang['Billing']['Delivery'] ?></h1>
|
||||||
|
<div class="inner">
|
||||||
|
<form>
|
||||||
|
<table class="layout wf-100">
|
||||||
|
<tr><td><label for="iAddressS"><?= $this->l11n->lang['Billing']['Addresses'] ?></label>
|
||||||
|
<tr><td><select id="iAddressS" name="addressS">
|
||||||
|
<option>
|
||||||
|
</select>
|
||||||
|
<tr><td><label for="iDRecipient"><?= $this->l11n->lang['Billing']['Recipient'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iDRecipient" name="drecipient">
|
||||||
|
<tr><td><label for="iAddress"><?= $this->l11n->lang['Billing']['Address'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iAddress" name="address">
|
||||||
|
<tr><td><label for="iZip"><?= $this->l11n->lang['Billing']['Zip'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iZip" name="zip">
|
||||||
|
<tr><td><label for="iCity"><?= $this->l11n->lang['Billing']['City'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iCity" name="city">
|
||||||
|
<tr><td><label for="iCountry"><?= $this->l11n->lang['Billing']['Country'] ?></label>
|
||||||
|
<tr><td><input type="text" id="iCountry" name="country">
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<input type="radio" id="c-tab-2" name="tabular-2">
|
||||||
|
<div class="tab">
|
||||||
|
<section class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->l11n->lang['Billing']['Invoice'] ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Item']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Variation']; ?>
|
||||||
|
<td class="wf-100"><?= $this->l11n->lang['Billing']['Name']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Quantity']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Discount']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['DiscountP']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Bonus']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Tax']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Net']; ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="8"><!-- todo: make this look nicer. even as alpha release this looks bad. -->
|
||||||
|
<?= $this->l11n->lang['Billing']['Freightage']; ?>: 0.00 -
|
||||||
|
<?= $this->l11n->lang['Billing']['Net']; ?>: 0.00 -
|
||||||
|
<?= $this->l11n->lang['Billing']['Tax']; ?>: 0.00 -
|
||||||
|
<?= $this->l11n->lang['Billing']['Total']; ?>: 0.00
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><i class="fa fa-plus"></i> <i class="fa fa-chevron-up"></i> <i class="fa fa-chevron-down"></i>
|
||||||
|
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" required></span>
|
||||||
|
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" required></span>
|
||||||
|
<td><input type="text" required><!-- todo: make this textarea -->
|
||||||
|
<td><input type="number" min="0" value="0" required>
|
||||||
|
<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>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
47
Theme/Backend/invoice-list.tpl.php
Normal file
47
Theme/Backend/invoice-list.tpl.php
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
|
||||||
|
$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);
|
||||||
|
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<section class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->l11n->lang['Billing']['Invoices'] ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Type']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['ClientID']; ?>
|
||||||
|
<td class="wf-100"><?= $this->l11n->lang['Billing']['Client']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Net']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Gross']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Created']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Due']; ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="8"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php if($count === 0) : ?>
|
||||||
|
<tr><td colspan="8" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
19
Theme/Backend/invoice-single.tpl.php
Normal file
19
Theme/Backend/invoice-single.tpl.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @var \phpOMS\Views\View $this
|
||||||
|
*/
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
47
Theme/Backend/purchase-invoice-list.tpl.php
Normal file
47
Theme/Backend/purchase-invoice-list.tpl.php
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 7.0
|
||||||
|
*
|
||||||
|
* @category TBD
|
||||||
|
* @package TBD
|
||||||
|
* @author OMS Development Team <dev@oms.com>
|
||||||
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
* @copyright 2013 Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link http://orange-management.com
|
||||||
|
*/
|
||||||
|
|
||||||
|
$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);
|
||||||
|
|
||||||
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<section class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->l11n->lang['Billing']['Invoices'] ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Type']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['SupplierID']; ?>
|
||||||
|
<td class="wf-100"><?= $this->l11n->lang['Billing']['Supplier']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Net']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Gross']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Created']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Billing']['Due']; ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="8"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php if($count === 0) : ?>
|
||||||
|
<tr><td colspan="8" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
Loading…
Reference in New Issue
Block a user