Supplier Invoice/Credit Note. Moved Dimensions entry from left section to middle...
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 8 Nov 2015 21:34:28 +0000 (22:34 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 8 Nov 2015 21:34:28 +0000 (22:34 +0100)
purchasing/includes/ui/invoice_ui.inc

index 1b53f6c3bd5ddbe4f5b85d25fe56414221a2f4b7..e3328cc26f06237a14015dcf54bc90c0987e71a2 100644 (file)
@@ -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']);