diff --git a/Controller/BackendController.php b/Controller/BackendController.php
index 4844dd7..17a6eed 100755
--- a/Controller/BackendController.php
+++ b/Controller/BackendController.php
@@ -110,6 +110,7 @@ final class BackendController extends Controller
/** @var \Modules\Billing\Models\Bill $bill */
$bill = SalesBillMapper::get()
+ ->with('client')
->with('elements')
->with('files')
->with('files/types')
diff --git a/Theme/Backend/bill-create.tpl.php b/Theme/Backend/bill-create.tpl.php
index cc41e90..91d5954 100755
--- a/Theme/Backend/bill-create.tpl.php
+++ b/Theme/Backend/bill-create.tpl.php
@@ -106,12 +106,21 @@ echo $this->data['nav']->render(); ?>
@@ -271,11 +280,11 @@ echo $this->data['nav']->render(); ?>
= $this->getHtml('Item'); ?>
| = $this->getHtml('Name'); ?>
| = $this->getHtml('Quantity'); ?>
- | = $this->getHtml('Discount'); ?>
- | = $this->getHtml('DiscountP'); ?>
- | = $this->getHtml('Bonus'); ?>
- | = $this->getHtml('Tax'); ?>
- | = $this->getHtml('Price'); ?>
+ | = $this->getHtml('Discount'); ?>
+ | = $this->getHtml('DiscountP'); ?>
+ | = $this->getHtml('Bonus'); ?>
+ | = $this->getHtml('Tax'); ?>
+ | = $this->getHtml('Price'); ?>
| = $this->getHtml('Net'); ?>
|
@@ -290,11 +299,11 @@ echo $this->data['nav']->render(); ?>
- |
- |
- |
- |
- |
+ |
+ |
+ |
+ |
+ |
|
@@ -308,12 +317,12 @@ echo $this->data['nav']->render(); ?>
| >
|
- | >
- | >
- | >
- | >
- | >
- | >
+ | >
+ | >
+ | >
+ | >
+ | >
+ | >
| = $this->getCurrency($element->totalSalesPriceNet); ?>
@@ -323,11 +332,12 @@ echo $this->data['nav']->render(); ?>
|
|
- |
- |
- |
- |
- |
+ |
+ |
+ |
+ |
+ |
+ |
|
@@ -460,7 +470,7 @@ echo $this->data['nav']->render(); ?>
|
- |
+ |
diff --git a/Theme/Backend/purchase-bill.tpl.php b/Theme/Backend/purchase-bill.tpl.php
index 9cbe3d3..db0980e 100755
--- a/Theme/Backend/purchase-bill.tpl.php
+++ b/Theme/Backend/purchase-bill.tpl.php
@@ -327,7 +327,7 @@ echo $this->data['nav']->render(); ?>
- = $this->getHtml('Logs'); ?>
+ = $this->getHtml('Logs'); ?>
IP
diff --git a/Theme/Backend/user-purchase-bill.tpl.php b/Theme/Backend/user-purchase-bill.tpl.php
index c840682..572ebe2 100755
--- a/Theme/Backend/user-purchase-bill.tpl.php
+++ b/Theme/Backend/user-purchase-bill.tpl.php
@@ -325,7 +325,7 @@ echo $this->data['nav']->render(); ?>
- = $this->getHtml('Logs'); ?>
+ = $this->getHtml('Logs'); ?>
| IP
| | |