From: Joe Hunt Date: Sun, 8 Nov 2015 21:34:28 +0000 (+0100) Subject: Supplier Invoice/Credit Note. Moved Dimensions entry from left section to middle... X-Git-Tag: v2.4.2~19^2~129 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=8c22323e464635b27c9250bd312fd6ebd4f55119;p=fa-stable.git Supplier Invoice/Credit Note. Moved Dimensions entry from left section to middle section for better layout. --- 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']);