From 2acc7787e73c966c3fc1794d77dd758a3f56b566 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 21:29:57 +0200 Subject: Offer: use Model --- include/offers-overview.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/offers-overview.php') diff --git a/include/offers-overview.php b/include/offers-overview.php index b172629..7c4127f 100644 --- a/include/offers-overview.php +++ b/include/offers-overview.php @@ -42,7 +42,7 @@ require_once('./login.php'); $invoiceFile = $offer->getInvoiceFile(); echo " - {$offer->getId()} + {$offer->id} {$offer->getContact()->name} "; foreach ($offer->getAssignments() as $assignment) { @@ -56,28 +56,28 @@ require_once('./login.php'); - + - + - + - +
From:".BusinessAdmin::formatDate($offer->getStartDate(),false,true)."".BusinessAdmin::formatDate($offer->start_date,false,true)."
To:".BusinessAdmin::formatDate($offer->getEndDate(),false,true)."".BusinessAdmin::formatDate($offer->end_date,false,true)."
Invoice:".BusinessAdmin::formatDate($offer->getInvoiceDate(),false,true)."".BusinessAdmin::formatDate($offer->invoice_date,false,true)."
Payment received:".BusinessAdmin::formatDate($offer->getPaymentReceived(),false,true)."".BusinessAdmin::formatDate($offer->getPaymentReceived(),false,true)."
" . (($invoiceFile instanceof file) ? " - - " - : "") + + " + : "") . "
@@ -95,7 +95,7 @@ require_once('./login.php');
- + "; } -- cgit v1.2.3