From 00752810a3c29eb9937273d539195cf87d86eb21 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 6 Jan 2012 10:12:26 +0100 Subject: [PATCH] 0001266: Delivery Location wrong when different from PO --- purchasing/includes/ui/grn_ui.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/purchasing/includes/ui/grn_ui.inc b/purchasing/includes/ui/grn_ui.inc index cfb2f26..a5c8838 100644 --- a/purchasing/includes/ui/grn_ui.inc +++ b/purchasing/includes/ui/grn_ui.inc @@ -36,7 +36,7 @@ function display_grn_summary(&$po, $editable=false) ref_cells(_("Reference"), 'ref', '', null, "class='tableheader2'"); if (!isset($_POST['Location'])) - $_POST['Location'] = $po->Location; + $_POST['Location'] = $po->location; label_cell(_("Deliver Into Location"), "class='tableheader2'"); locations_list_cells(null, "Location", $_POST['Location']); @@ -51,7 +51,7 @@ function display_grn_summary(&$po, $editable=false) else { label_cells(_("Reference"), $po->reference, "class='tableheader2'"); - label_cells(_("Deliver Into Location"), get_location_name($po->Location), "class='tableheader2'"); + label_cells(_("Deliver Into Location"), get_location_name($po->location), "class='tableheader2'"); label_cells(_("Supplier's Reference"), $po->supp_ref, "class='tableheader2'"); } -- 2.30.2