From: Joe Hunt Date: Sat, 6 Mar 2010 14:57:24 +0000 (+0000) Subject: Missing 'Set Global Supplier' in invoice_ui.inc invoice_header X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=ff8f4239fc60fd453c48cdd37603cb58d86e46db;p=textcart.git Missing 'Set Global Supplier' in invoice_ui.inc invoice_header --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 770789f..dd78f84 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -22,6 +22,8 @@ $ -> Affected files 06-Mar-2010 Joe Hunt # Bug in Text(Col)WrapLines. Doesn't break on space. $ /reporting/includes/pdf_report.inc +# Missing 'Set Global Supplier' in invoice_ui.inc +$ /purchasing/includes/ui/invoice_ui.inc ------------------------------- Release 2.2.7 ---------------------------------- 05-Mar-2010 Joe Hunt diff --git a/purchasing/includes/ui/invoice_ui.inc b/purchasing/includes/ui/invoice_ui.inc index bc03ee8..94f4d91 100644 --- a/purchasing/includes/ui/invoice_ui.inc +++ b/purchasing/includes/ui/invoice_ui.inc @@ -118,6 +118,8 @@ function invoice_header(&$supp_trans) table_section(3, "33%"); + set_global_supplier($_POST['supplier_id']); + $supplier_currency = get_supplier_currency($supp_trans->supplier_id); $company_currency = get_company_currency();