Supplier Invoice. Wrong alignment i 2 first columns when selecting items to invoice...
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 18 Jul 2019 08:56:07 +0000 (10:56 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 18 Jul 2019 08:56:07 +0000 (10:56 +0200)
purchasing/includes/ui/invoice_ui.inc

index ef4b812846d63dc7e4cf756ca729ac444a4c38f9..fc779227793c7c0497f8a73933df2665fca5de8a 100644 (file)
@@ -525,12 +525,12 @@ function display_grn_items(&$supp_trans, $mode=0)
                alt_table_row_color($k);
 
                        $grn_batch = get_grn_batch_from_item($entered_grn->id);
-               label_cell(get_trans_view_str(ST_SUPPRECEIVE, $grn_batch));
+               label_cell(get_trans_view_str(ST_SUPPRECEIVE, $grn_batch), "nowrap align='right'");
                if ($mode == 1)
                {
 //                             label_cell($entered_grn->id);
                                $row = get_grn_batch($grn_batch);
-                               label_cell(get_trans_view_str(ST_PURCHORDER, $row["purch_order_no"])); // PO
+                               label_cell(get_trans_view_str(ST_PURCHORDER, $row["purch_order_no"]), "nowrap align='right'"); // PO
                        }       
                        label_cell($entered_grn->item_code);
                        label_cell($entered_grn->item_description);