From: erickson Date: Fri, 12 Feb 2010 20:20:21 +0000 (+0000) Subject: added optional user data pass-thru. this will give the UI the ability to pass in... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6292c653569beae69910ef6492ff5530698f9d73;p=evergreen%2Fpines.git added optional user data pass-thru. this will give the UI the ability to pass in per-printout comments, etc. go ahead and use the print-on-demand granulariy for consistency git-svn-id: svn://svn.open-ils.org/ILS/trunk@15526 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm index de7b661f34..c9cb25b6eb 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Acq/Financials.pm @@ -1094,7 +1094,7 @@ __PACKAGE__->register_method( ); sub format_lineitem { - my($self, $conn, $auth, $li_id, $format) = @_; + my($self, $conn, $auth, $li_id, $format, $user_data) = @_; my $e = new_editor(authtoken=>$auth); return $e->event unless $e->checkauth; @@ -1115,7 +1115,7 @@ sub format_lineitem { } my $hook = "format.acqli.$format"; - return $U->fire_object_event(undef, $hook, $li, $context_org); + return $U->fire_object_event(undef, $hook, $li, $context_org, 'print-on-demand', $user_data); } __PACKAGE__->register_method (