a9ded4fa00
Branches can have their own version of notices - added branchcode to letter table. Support html notices - added is_html to letter table. Support for borrower attributes in templates. GetPreparedletter() is the interface for compiling letters (notices). Sysprefs for notice and slips stylesheets Added TRANSFERSLIP to the letters Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
43 lines
1.2 KiB
Perl
43 lines
1.2 KiB
Perl
package KohaTest::Reserves;
|
|
use base qw( KohaTest );
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use Test::More;
|
|
|
|
use C4::Reserves;
|
|
sub testing_class { 'C4::Reserves' };
|
|
|
|
|
|
sub methods : Test( 1 ) {
|
|
my $self = shift;
|
|
my @methods = qw( AddReserve
|
|
GetReservesFromBiblionumber
|
|
GetReservesFromItemnumber
|
|
GetReservesFromBorrowernumber
|
|
GetReserveCount
|
|
GetOtherReserves
|
|
GetReserveFee
|
|
GetReservesToBranch
|
|
GetReservesForBranch
|
|
CheckReserves
|
|
CancelReserve
|
|
ModReserve
|
|
ModReserveFill
|
|
ModReserveStatus
|
|
ModReserveAffect
|
|
ModReserveCancelAll
|
|
ModReserveMinusPriority
|
|
MoveReserve
|
|
GetReserveInfo
|
|
_FixPriority
|
|
_Findgroupreserve
|
|
ReserveSlip
|
|
);
|
|
|
|
can_ok( $self->testing_class, @methods );
|
|
}
|
|
|
|
1;
|
|
|