setting payment_type field on payment objects
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Aug 2006 18:42:41 +0000 (18:42 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Aug 2006 18:42:41 +0000 (18:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5664 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Collections.pm

index 3e8fb67..6d6dec8 100644 (file)
@@ -533,6 +533,7 @@ sub flesh_payment {
        my $meth = "retrieve_money_$type";
        $p = $e->$meth($p->id) or return (undef, $e->event);
        try {
+               $p->payment_type($type);
                $p->cash_drawer(
                        $e->retrieve_actor_workstation(
                                [