diff --git a/Admin/Installer.php b/Admin/Installer.php index d51c398..f4a65df 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -72,7 +72,7 @@ class Installer extends InstallerAbstract `billing_invoice_taxid` varchar(255) DEFAULT NULL, `billing_invoice_freightage` int(11) DEFAULT NULL, `billing_invoice_insurance` int(11) DEFAULT NULL, - + `billing_invoice_referer` int(11) DEFAULT NULL, `billing_invoice_referer_name` int(11) DEFAULT NULL, diff --git a/Models/Invoice.php b/Models/Invoice.php index b467f85..4b8c0e9 100644 --- a/Models/Invoice.php +++ b/Models/Invoice.php @@ -96,7 +96,7 @@ class Invoice implements \JsonSerializable private $billZip = ''; private $billCountry = ''; - + /** * Person refering for this order. * @@ -118,7 +118,7 @@ class Invoice implements \JsonSerializable private $gross = null; private $currency = ISO4217CharEnum::_EUR; - + private $info = ''; private $payment = 0; @@ -355,7 +355,7 @@ class Invoice implements \JsonSerializable { return $this->referer; } - + public function setRefererName(string $refererName) /* : void */ { $this->refererName = $refererName; @@ -455,7 +455,7 @@ class Invoice implements \JsonSerializable { return $this->terms; } - + public function setTermsText(string $terms) /* : void */ { $this->termsText = $terms; @@ -471,7 +471,7 @@ class Invoice implements \JsonSerializable $this->shipping = $shipping; } - public function getShipping() + public function getShipping() { return $this->shipping; } @@ -485,7 +485,7 @@ class Invoice implements \JsonSerializable { return $this->shippingText; } - + public function getVouchers() : array { return $this->vouchers; @@ -518,6 +518,6 @@ class Invoice implements \JsonSerializable public function jsonSerialize() { - + } } \ No newline at end of file diff --git a/Models/InvoiceElement.php b/Models/InvoiceElement.php index 7a2ee4b..d06fd7d 100644 --- a/Models/InvoiceElement.php +++ b/Models/InvoiceElement.php @@ -33,7 +33,7 @@ class InvoiceElement implements \JsonSerializable private $itemName = ''; private $itemDescription = ''; - + private $quantity = 0; private $singlePrice = null; @@ -49,7 +49,7 @@ class InvoiceElement implements \JsonSerializable private $totalDiscountR = null; private $discountQ = 0; - + private $singlePriceNet = null; private $totalPriceNet = null; @@ -93,7 +93,7 @@ class InvoiceElement implements \JsonSerializable $this->promotion = $promotion; } - public function getPromotion() + public function getPromotion() { return $this->promotion; } @@ -208,7 +208,7 @@ class InvoiceElement implements \JsonSerializable $this->discountQ = $quantity; } - public function getDiscountQuantity() + public function getDiscountQuantity() { return $this->discountQ; } @@ -275,6 +275,6 @@ class InvoiceElement implements \JsonSerializable public function jsonSerialize() { - + } } \ No newline at end of file diff --git a/Theme/Backend/invoice-archive.tpl.php b/Theme/Backend/invoice-archive.tpl.php index 74763f2..e3c82b3 100644 --- a/Theme/Backend/invoice-archive.tpl.php +++ b/Theme/Backend/invoice-archive.tpl.php @@ -13,4 +13,4 @@ /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/invoice-single.tpl.php b/Theme/Backend/invoice-single.tpl.php index 74763f2..e3c82b3 100644 --- a/Theme/Backend/invoice-single.tpl.php +++ b/Theme/Backend/invoice-single.tpl.php @@ -13,4 +13,4 @@ /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render();