. */ require_once('./login.php'); ?>
| # | Contact | Assignments & discounts | 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()} "; } 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 " | 
							"
							. (($invoiceFile instanceof file)
								? "
									
									"
								: "")
							. "
  | 
							||||||||
| There are no offers in the database. Why not start with creating one, below? | |||||||||||