From 21455bfd1004c4a3153050ac5995b8dc680c2042 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Wed, 27 Jul 2016 16:48:53 +0200
Subject: Class names start with a capital
---
include/offers-overview.php | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
(limited to 'include/offers-overview.php')
diff --git a/include/offers-overview.php b/include/offers-overview.php
index 9eaf25d..9c0a706 100644
--- a/include/offers-overview.php
+++ b/include/offers-overview.php
@@ -46,29 +46,29 @@ require_once('./login.php');
{$offer->getContact()->getName()} |
";
foreach ($offer->getAssignments() as $assignment) {
- echo "{$assignment->getTitle()} (".constants::invoice_valuta."{$assignment->calculate(assignment::SUBTOTAL)} excl. VAT, ".constants::invoice_valuta."{$assignment->calculate(assignment::TOTAL)} incl. VAT)
{$assignment->getDescription()} ";
+ echo "{$assignment->getTitle()} (".Constants::invoice_valuta."{$assignment->calculate(assignment::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(assignment::TOTAL)} incl. VAT)
{$assignment->getDescription()} ";
}
foreach ($offer->getDiscounts() as $discount) {
- echo "{$discount->getTitle()} (".constants::invoice_valuta."{$discount->calculate(discount::SUBTOTAL)} excl. VAT, ".constants::invoice_valuta."{$discount->calculate(discount::TOTAL)} incl. VAT)
{$discount->getDescription()} ";
+ echo "{$discount->getTitle()} (".Constants::invoice_valuta."{$discount->calculate(discount::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$discount->calculate(discount::TOTAL)} incl. VAT)
{$discount->getDescription()} ";
}
echo " |
From: |
- ".BusinessAdmin::formatDate($offer->getStartDate(),false,true)." |
+ ".BusinessAdmin::formatDate($offer->getStartDate(),false,true)." |
To: |
- ".BusinessAdmin::formatDate($offer->getEndDate(),false,true)." |
+ ".BusinessAdmin::formatDate($offer->getEndDate(),false,true)." |
Invoice: |
- ".BusinessAdmin::formatDate($offer->getInvoiceDate(),false,true)." |
+ ".BusinessAdmin::formatDate($offer->getInvoiceDate(),false,true)." |
Payment received: |
- ".BusinessAdmin::formatDate($offer->getPaymentReceived(),false,true)." |
+ ".BusinessAdmin::formatDate($offer->getPaymentReceived(),false,true)." |
|
@@ -82,15 +82,15 @@ require_once('./login.php');
Subtotal: |
- ".constants::invoice_valuta."{$offer->calculate(offer::SUBTOTAL)} |
+ ".Constants::invoice_valuta."{$offer->calculate(offer::SUBTOTAL)} |
VAT: |
- ".constants::invoice_valuta."{$offer->calculate(offer::VAT)} |
+ ".Constants::invoice_valuta."{$offer->calculate(offer::VAT)} |
Total: |
- ".constants::invoice_valuta."{$offer->calculate(offer::TOTAL)} |
+ ".Constants::invoice_valuta."{$offer->calculate(offer::TOTAL)} |
@@ -112,7 +112,7 @@ require_once('./login.php');