From 4e788b22509a48dc7f3e634829f725d167f42f92 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 30 Aug 2006 01:09:20 +0000 Subject: [PATCH] money.desk_payment_view support git-svn-id: svn://svn.open-ils.org/ILS/trunk@5765 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/fm_IDL.xml | 25 +++++++++++++++++++ .../OpenILS/Application/Storage/CDBI/money.pm | 7 ++++++ .../Application/Storage/Driver/Pg/dbi.pm | 5 ++++ 3 files changed, 37 insertions(+) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 046570f66a..f8847f455a 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -1876,6 +1876,7 @@ + @@ -1887,6 +1888,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/money.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/money.pm index 37f4060add..0864ff3bad 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/money.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/money.pm @@ -89,6 +89,13 @@ __PACKAGE__->columns(Primary => 'id'); __PACKAGE__->columns(Essential => qw/xact amount payment_ts payment_type note/); #------------------------------------------------------------------------------- +package money::desk_payment; +use base qw/money/; +__PACKAGE__->table('money_desk_payment'); +__PACKAGE__->columns(Primary => 'id'); +__PACKAGE__->columns(Essential => qw/xact amount payment_ts voided amount_collected accepting_usr cash_drawer payment_type note/); +#------------------------------------------------------------------------------- + package money::cash_payment; use base qw/money/; __PACKAGE__->table('money_cash_payment'); diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm index 956bc18f07..8862d60047 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm @@ -72,6 +72,11 @@ money::billing->table( 'money.billing' ); money::billing->sequence( 'money.billing_id_seq' ); + #--------------------------------------------------------------------- + package money::desk_payment; + + money::desk_payment->table( 'money.desk_payment_view' ); + #--------------------------------------------------------------------- package money::payment; -- 2.43.2