diff --git a/client/includes/header.php b/client/includes/header.php index 120326d23..ea8b9e14f 100644 --- a/client/includes/header.php +++ b/client/includes/header.php @@ -64,13 +64,14 @@ header("X-Frame-Options: DENY"); // Legacy
| ';
+ if (!empty($company_logo) && file_exists("../uploads/settings/$company_logo")) {
+ $html .= ' |
+
+ Account Statement + As of ' . date("Y-m-d") . ' + |
+
| ' . $company_name . ' | +' . $client_name . ' | +
| ' . nl2br(formatAddress($company_address, $company_city, $company_state, $company_zip, $company_country) . "\n$company_phone\n$company_website") . ' | ++ |
| Invoice | +Scope | +Date | +Due | +Amount | +Paid | +Balance | +
| ' . $invoice_prefix . $invoice_number . ' | +' . $invoice_scope . ' | +' . $invoice_date . ' | +' . $invoice_due . ' | +' . numfmt_format_currency($currency_format, $invoice_amount, $session_company_currency) . ' | +' . numfmt_format_currency($currency_format, $amount_paid, $session_company_currency) . ' | +' . numfmt_format_currency($currency_format, $invoice_balance, $session_company_currency) . ' | +
| Total Balance Due | +' . numfmt_format_currency($currency_format, $statement_total, $session_company_currency) . ' | +|||||
| # | +Scope | +Date | +Due | +Amount | +Paid | +Balance | +
|---|---|---|---|---|---|---|
| + "> + = "$invoice_prefix$invoice_number" ?> + + | += $invoice_scope_display ?> | += $invoice_date ?> | += $invoice_due ?> | += numfmt_format_currency($currency_format, $invoice_amount, $session_company_currency) ?> | += numfmt_format_currency($currency_format, $amount_paid, $session_company_currency) ?> | += numfmt_format_currency($currency_format, $invoice_balance, $session_company_currency) ?> | +
| Total Balance Due | += numfmt_format_currency($currency_format, $statement_total, $session_company_currency) ?> | +|||||