[Frontaccounting-cvs_updates] /hgroot/frontaccounting/frontaccounting: Fixed typo in location ...
Brought to you by:
frontaccounting,
itronics
From: FrontAccounting <fro...@us...> - 2012-03-05 13:16:20
|
details: http://frontaccounting.hg.sourceforge.net:8000/hgroot/frontaccounting/frontaccounting/hgroot/frontaccounting/frontaccounting/rev/41e059ddfd6e changeset: 2983:41e059ddfd6e user: Joe Hunt <joe...@gm...> date: Mon Mar 05 14:14:41 2012 +0100 description: Fixed typo in location variable. diffstat: purchasing/includes/db/grn_db.inc | 2 +- purchasing/includes/ui/grn_ui.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diffs (33 lines): diff -r e5088c41cb26 -r 41e059ddfd6e purchasing/includes/db/grn_db.inc --- a/purchasing/includes/db/grn_db.inc Mon Feb 13 12:40:58 2012 +0100 +++ b/purchasing/includes/db/grn_db.inc Mon Mar 05 14:14:41 2012 +0100 @@ -364,7 +364,7 @@ $order->trans_type = ST_SUPPRECEIVE; $order->orig_order_date = sql2date($row["delivery_date"]); - $order->location = $row["loc_code"]; + $order->Location = $row["loc_code"]; $order->reference = $row["reference"]; read_grn_items_to_order($grn_batch, $order); diff -r e5088c41cb26 -r 41e059ddfd6e purchasing/includes/ui/grn_ui.inc --- a/purchasing/includes/ui/grn_ui.inc Mon Feb 13 12:40:58 2012 +0100 +++ b/purchasing/includes/ui/grn_ui.inc Mon Mar 05 14:14:41 2012 +0100 @@ -36,7 +36,7 @@ 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 @@ 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'"); } |