From c36fcd215d757f92a5af3d14eb73452bffcaf22e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 11 Mar 2015 10:58:44 +0100 Subject: Prices on active offers --- include/home.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/home.php b/include/home.php index 75ecb6e..0f55ede 100644 --- a/include/home.php +++ b/include/home.php @@ -160,12 +160,13 @@ require('header.php'); 'end' => $end, 'id' => $offer->getId(), 'contactClientName' => $offer->getContact()->getClient()->getName(), - 'percentage' => $percentage + 'percentage' => $percentage, + 'price' => constants::invoice_valuta . $offer->calculate(offer::SUBTOTAL) ); } krsort($list, SORT_STRING); foreach ($list as $item) { - echo "

#{$item['id']} to {$item['contactClientName']} ({$item['start']} - {$item['end']}){$item['percentage']}% complete

+ echo "

#{$item['id']} to {$item['contactClientName']} ({$item['start']} - {$item['end']}; {$item['price']}){$item['percentage']}% complete

"; -- cgit v1.2.3