From 4036eddde27be47ad72e419f38a737c8ec2a819b Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Fri, 2 Sep 2016 20:21:06 +0200
Subject: more links, editable dates on offer view page
---
include/offers-view.php | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
(limited to 'include/offers-view.php')
diff --git a/include/offers-view.php b/include/offers-view.php
index 908db94..930f112 100644
--- a/include/offers-view.php
+++ b/include/offers-view.php
@@ -21,6 +21,68 @@ require_once(__DIR__ . '/../login.php');
$_offer = new Offer($_pdo, $_id);
?>
+
+
+
Details
+
+
+
+
+ Contact |
+ Dates |
+ Price |
+
+
+
+
+
+ {$_offer->getContact()->name}
+ ({$_offer->getContact()->getClient()->name})
+ |
+
+
+ |
+
+
+
+ Subtotal: |
+ ".Constants::invoice_valuta."{$offer->calculate(Calculatable::SUBTOTAL)} |
+
+
+ VAT: |
+ ".Constants::invoice_valuta."{$offer->calculate(Calculatable::VAT)} |
+
+
+ Total: |
+ ".Constants::invoice_valuta."{$offer->calculate(Calculatable::TOTAL)} |
+
+
+ |
+ ";
+ ?>
+
+
+
+
+
Assignments
--
cgit v1.2.3