From b8ad50cc73f293295b6ad45b82d87b54a73ad44b Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 31 Aug 2006 19:52:32 +0000 Subject: [PATCH] using new constant name for billing type - added todo note git-svn-id: svn://svn.open-ils.org/ILS/trunk@5813 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Collections.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm b/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm index 6d6dec80de..0b03285b14 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Collections.pm @@ -312,7 +312,7 @@ sub add_collections_fee { my $bill = Fieldmapper::money::billing->new; $bill->note($fee_note); $bill->xact($xact->id); - $bill->billing_type('SYSTEM: Long Overdue Processing Fee'); # XXX + $bill->billing_type(OILS_BILLING_TYPE_COLLECTION_FEE); $bill->amount($fee_amount); $e->create_money_billing($bill) or return $e->event; @@ -755,7 +755,7 @@ sub create_user_note { my $e = new_editor(authtoken=>$auth, xact=>1); return $e->event unless $e->checkauth; - return $e->event unless $e->allowed('UPDATE_USER'); + return $e->event unless $e->allowed('UPDATE_USER'); # XXX Makre more specific perm for this return $e->event unless my $card = $e->search_actor_card({barcode=>$user_barcode})->[0]; -- 2.11.0