[open-ils-commits] r9688 -
branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu May 22 23:54:52 EDT 2008
Author: erickson
Date: 2008-05-22 23:54:50 -0400 (Thu, 22 May 2008)
New Revision: 9688
Modified:
branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm
Log:
fixed broken po column name
Modified: branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm
===================================================================
--- branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm 2008-05-23 03:13:28 UTC (rev 9687)
+++ branches/acq-experiment/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm 2008-05-23 03:54:50 UTC (rev 9688)
@@ -49,7 +49,7 @@
my $po = $e->retrieve_acq_purchase_order($li->purchase_order)
or return $e->die_event;
return $e->die_event unless
- $e->allowed('MANAGE_PROVIDER', $po->org_unit, $po);
+ $e->allowed('MANAGE_PROVIDER', $po->ordering_agency, $po);
}
$li->selector($e->requestor->id);
@@ -442,7 +442,6 @@
]) or return $e->die_event;
my $li = $li_detail->lineitem;
- $li->item_count($li->item_count - 1);
$e->update_acq_lineitem($li) or return $e->die_event;
return OpenILS::Event->new('BAD_PARAMS') unless
More information about the open-ils-commits
mailing list