X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_supp_payment.php;h=fb29a75915be5622de91c618c826f214d9566e0f;hb=6c40a3be4a79826087d7abbdd11b483f19decc2a;hp=d6786f5538e075faafdcf226edf2e79f99094085;hpb=2a5e3a823d3091320bca214736627521e974fc7a;p=fa-stable.git diff --git a/purchasing/view/view_supp_payment.php b/purchasing/view/view_supp_payment.php index d6786f55..fb29a759 100644 --- a/purchasing/view/view_supp_payment.php +++ b/purchasing/view/view_supp_payment.php @@ -17,7 +17,7 @@ include($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/includes/ui.inc"); include_once($path_to_root . "/purchasing/includes/purchasing_db.inc"); $js = ""; -if ($use_popup_windows) +if ($SysPrefs->use_popup_windows) $js .= get_js_open_window(900, 500); page(_($help_context = "View Payment to Supplier"), true, false, "", $js); @@ -33,21 +33,24 @@ $company_currency = get_company_currency(); $show_currencies = false; $show_both_amounts = false; -if (($receipt['bank_curr_code'] != $company_currency) || ($receipt['SupplierCurrCode'] != $company_currency)) +if (($receipt['bank_curr_code'] != $company_currency) || ($receipt['curr_code'] != $company_currency)) $show_currencies = true; -if ($receipt['bank_curr_code'] != $receipt['SupplierCurrCode']) +if ($receipt['bank_curr_code'] != $receipt['curr_code']) { $show_currencies = true; $show_both_amounts = true; } +if (!empty($SysPrefs->prefs['company_logo_on_views'])) + company_logo_on_view(); + echo "