Added company switch for placing company logo on certain views.
[fa-stable.git] / sales / view / view_invoice.php
index f605fc6934084e7bd384a62366dc5d9dad5c4a1e..6366251679182b5b9efc0a6b2eb91398259e057d 100644 (file)
@@ -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));