From 8c22323e464635b27c9250bd312fd6ebd4f55119 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 8 Nov 2015 22:34:28 +0100 Subject: [PATCH] Supplier Invoice/Credit Note. Moved Dimensions entry from left section to middle section for better layout. --- purchasing/includes/ui/invoice_ui.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/purchasing/includes/ui/invoice_ui.inc b/purchasing/includes/ui/invoice_ui.inc index 1b53f6c3..e3328cc2 100644 --- a/purchasing/includes/ui/invoice_ui.inc +++ b/purchasing/includes/ui/invoice_ui.inc @@ -122,12 +122,6 @@ function invoice_header(&$supp_trans) } text_row(_("Supplier's Ref.:"), 'supp_reference', $_POST['supp_reference'], 20, 60); - if (get_company_pref('use_dimension')) - dimensions_list_row(_('Dimension').':', 'dimension', null, true, _('Default'), false, 1); - - if (get_company_pref('use_dimension') == 2) - dimensions_list_row(_('Dimension 2').':', 'dimension2', null, true, _('Default'), false, 2); - table_section(2, "33%"); if (isset($_POST['_tran_date_changed'])) { @@ -142,6 +136,12 @@ function invoice_header(&$supp_trans) label_row(_("Terms:"), $supp_trans->terms['description']); + if (get_company_pref('use_dimension')) + dimensions_list_row(_('Dimension').':', 'dimension', null, true, _('Default'), false, 1); + + if (get_company_pref('use_dimension') == 2) + dimensions_list_row(_('Dimension 2').':', 'dimension2', null, true, _('Default'), false, 2); + table_section(3, "33%"); set_global_supplier($_POST['supplier_id']); -- 2.30.2