. */ require_once('./login.php'); ?>
# | Contact | Assignments & discounts | Dates | Invoice | Tools | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{$offer->id} | {$offer->getContact()->name} | ";
foreach ($offer->getAssignments() as $assignment) {
echo "{$assignment->title} (".Constants::invoice_valuta."{$assignment->calculate(CALCULATABLE_SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(CALCULATABLE_TOTAL)} incl. VAT) {$assignment->getHTMLDescription()} "; } foreach ($offer->getDiscounts() as $discount) { echo "{$discount->title}(".Constants::invoice_valuta."{$discount->calculate(CALCULATABLE_SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$discount->calculate(CALCULATABLE_TOTAL)} incl. VAT) {$discount->description} "; } echo " |
"
. (($invoiceFile instanceof file)
? "
"
: "")
. "
|
||||||||
There are no offers in the database. Why not start with creating one, below? |