checkin_staff circ_staff circ_lib checkin_lib
stop_fines_time checkin_time desk_renewal
phone_renewal create_time copy_location/);
-#-------------------------------------------------------------------------------
-
-package action::all_circulation;
-use base qw/action/;
-__PACKAGE__->table('action_all_circulation');
-__PACKAGE__->columns(Primary => 'id');
-__PACKAGE__->columns(Essential => qw/xact_start target_copy circ_lib
- duration duration_rule renewal_remaining grace_period
- recurring_fine_rule recurring_fine stop_fines
- max_fine max_fine_rule fine_interval
- stop_fines xact_finish due_date opac_renewal
- checkin_staff circ_staff circ_lib checkin_lib
- stop_fines_time checkin_time desk_renewal
- phone_renewal create_time copy_location/);
#-------------------------------------------------------------------------------
action::circulation->sequence( 'money.billable_xact_id_seq' );
#---------------------------------------------------------------------
- package action::all_circulation;
-
- action::all_circulation->table( 'action.all_circulation' );
-
-
- #---------------------------------------------------------------------
package booking::resource_type;
booking::resource_type->table( 'booking.resource_type' );
my $copy = shift;
my $granularity = shift;
- my $c_table = action::all_circulation->table;
+ my $c_table = action::circulation->table;
if (lc($granularity) eq 'year') {
$granularity = ", to_char(xact_start, 'YYYY') as when";
$log->debug("Circ count SQL [$SQL]", DEBUG);
- return action::all_circulation->db_Main->selectall_hashref($SQL, 'when', {}, $copy);
+ return action::circulation->db_Main->selectall_hashref($SQL, 'when', {}, $copy);
}
__PACKAGE__->register_method(
method => 'circ_count',