+ label_cells(_("Reference"), $po->reference, "class='tableheader2'");
+ label_cells(_("Deliver Into Location"), get_location_name($po->Location), "class='tableheader2'");
+ label_cells(_("Supplier's Reference"), $po->supp_ref, "class='tableheader2'");
+
+ end_row();
+
+ label_row(_("Delivery Address"), $po->delivery_address, "class='tableheader2'", "colspan=9");
+
+ if ($po->Comments != "")
+ label_row(_("Order Comments"), $po->Comments, "class='tableheader2'", "colspan=9");
+ end_table(1);
+}
+
+function edit_grn_summary(&$po)
+{
+ global $Refs;
+
+ start_outer_table(TABLESTYLE2, "width='80%'");
+
+ table_section(1);
+ label_row(_("Supplier"), $po->supplier_name);
+
+ if (!is_company_currency($po->curr_code))
+ label_row(_("Order Currency"), $po->curr_code);
+
+ label_row(_("For Purchase Order"), get_trans_view_str(ST_PURCHORDER, $po->order_no));
+
+ label_row(_("Ordered On"), $po->orig_order_date);
+
+ table_section(2);