| ';
if (!empty($company_logo) && file_exists("../uploads/settings/$company_logo")) {
$html .= ' |
Invoice ' . $invoice_prefix . $invoice_number . ' '; if (strtolower($invoice_status) === 'paid') { $html .= 'PAID '; } $html .= ' |
| ' . $company_name . ' | ' . $client_name . ' |
| ' . nl2br("$company_address\n$company_city $company_state $company_zip\n$company_country\n$company_phone\n$company_website\n$company_tax_id_display") . ' | ' . nl2br("$location_address\n$location_city $location_state $location_zip\n$location_country\n$contact_email\n$contact_phone") . ' |
| Date: | ' . $invoice_date . ' | |
| Due: | ' . $invoice_due . ' |
| Item | Qty | Price | Tax | Amount |
|---|---|---|---|---|
| ' . $name . '
' . nl2br($desc) . ' |
' . number_format($qty, 2) . ' | ' . numfmt_format_currency($currency_format, $price, $invoice_currency_code) . ' | ' . numfmt_format_currency($currency_format, $tax, $invoice_currency_code) . ' | ' . numfmt_format_currency($currency_format, $total, $invoice_currency_code) . ' |
| ' . nl2br($invoice_note) . ' |
|