X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fview%2Fview_invoice.php;h=6366251679182b5b9efc0a6b2eb91398259e057d;hb=0a6988eadb9d779a9c49c79772c1c2a3e19b6b05;hp=f605fc6934084e7bd384a62366dc5d9dad5c4a1e;hpb=c47544994b38a1540dd049075948493352ca6112;p=fa-stable.git diff --git a/sales/view/view_invoice.php b/sales/view/view_invoice.php index f605fc69..63662516 100644 --- a/sales/view/view_invoice.php +++ b/sales/view/view_invoice.php @@ -41,6 +41,9 @@ $branch = get_branch($myrow["branch_code"]); $sales_order = get_sales_order_header($myrow["order_"], ST_SALESORDER); +if (!empty($SysPrefs->prefs['company_logo_on_views'])) + company_logo_on_view(); + display_heading(sprintf($myrow['prep_amount'] > 0 ? ( $paym['days_before_due']>=0 ? _("FINAL INVOICE #%d") : _("PREPAYMENT INVOICE #%d")) : _("SALES INVOICE #%d"),$trans_id));