Merged changes form main trunk (2.2.8, 2.2.9)
[fa-stable.git] / purchasing / includes / ui / invoice_ui.inc
index 051e949eb8219a253d8855571bc1b53510f90a75..b3957fd8cf66bf3f46e6ee780b9ddecdee41d1bb 100644 (file)
@@ -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();