. */ require_once(__DIR__ . '/../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 " |
"
. ((!is_null($invoiceFile))
? "
"
: "")
. "
|
||||||||
There are no offers in the database. |