Bug 25534: (QA follow-up) Add AV category
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
563328d3cc
commit
57bbb2861f
|
|
@ -1,7 +1,11 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if ( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{
|
||||
INSERT INTO `letter` VALUES ('reserves','HOLD_CANCELLATION','','Hold Cancellation',0,'Your hold was canceled.','[%- USE AuthorisedValues -%]\r\nDear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nYour hold for [% biblio.title %] was canceled for the following reason: [% AuthorisedValues.GetByCode( \'HOLD_CANCELLATION\', hold.cancellation_reason ) %]','email','default');
|
||||
INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) VALUES ('HOLD_CANCELLATION', 0);
|
||||
});
|
||||
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO `letter` VALUES ('reserves','HOLD_CANCELLATION','','Hold Cancellation',0,'Your hold was canceled.','[%- USE AuthorisedValues -%]\r\nDear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nYour hold for [% biblio.title %] was canceled for the following reason: [% AuthorisedValues.GetByCode( \'HOLD_CANCELLATION\', hold.cancellation_reason ) %]','email','default');
|
||||
});
|
||||
|
||||
if ( !column_exists( 'reserves', 'cancellation_reason' ) ) {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
|
|||
('ITEMTYPECAT', 0),
|
||||
('PAYMENT_TYPE', 0),
|
||||
('PA_CLASS', 0),
|
||||
('HOLD_CANCELLATION', 0),
|
||||
('ROADTYPE', 0);
|
||||
|
||||
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
|
||||
|
|
|
|||
|
|
@ -382,6 +382,8 @@
|
|||
<p>General holdings: retention designator :: This data element specifies the retention policy for the unit at the time of the holdings report.</p>
|
||||
[% CASE 'HINGS_UT' %]
|
||||
<p>General holdings: type of unit designator</p>
|
||||
[% CASE 'HOLD_CANCELLATION' %]
|
||||
<p>Reasons why a hold might have been cancelled</p>
|
||||
[% CASE 'HSBND_FREQ' %]
|
||||
<p>Frequencies used by the housebound module. They are displayed on the housebound tab in the patron account in staff.</p>
|
||||
[% CASE 'ITEMTYPECAT' %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue