. */ require_once('./login.php'); ?>
# | Contact | Assignments & discounts | Dates | Invoice | Tools | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{$offer->getId()} | {$offer->getContact()->getName()} | ";
foreach ($offer->getAssignments() as $assignment) {
echo "{$assignment->title} (".Constants::invoice_valuta."{$assignment->calculate(assignment::SUBTOTAL)} excl. VAT, ".Constants::invoice_valuta."{$assignment->calculate(assignment::TOTAL)} incl. VAT) {$assignment->getHTMLDescription()} "; } 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? |