From c50a323c25a0787ba2051b19721983776a229615 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 5 Feb 2015 00:40:47 +0100 Subject: Initial commit --- include/offers-overview.php | 169 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 include/offers-overview.php (limited to 'include/offers-overview.php') diff --git a/include/offers-overview.php b/include/offers-overview.php new file mode 100644 index 0000000..de8863c --- /dev/null +++ b/include/offers-overview.php @@ -0,0 +1,169 @@ +. + */ +?> + +
# | +Contact | +Assignments | +Dates | +Invoice | +Tools | +||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{$offer->getId()} | +{$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 " |
+
+
|
+ "
+ . (($invoiceFile instanceof file)
+ ? "
+
+ "
+ : "")
+ . " +
|
+ + + | +||||||||||||||
There are no offers in the database. Why not start with creating one, below? |