View | Details | Raw Unified | Return to bug 25534
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/cancellation_reason.perl (-1 / +5 lines)
Lines 1-7 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if ( CheckVersion( $DBversion ) ) {
2
if ( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{
3
    $dbh->do(q{
4
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');
4
        INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) VALUES ('HOLD_CANCELLATION', 0);
5
    });
6
7
    $dbh->do(q{
8
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');
5
    });
9
    });
6
10
7
    if ( !column_exists( 'reserves', 'cancellation_reason' ) ) {
11
    if ( !column_exists( 'reserves', 'cancellation_reason' ) ) {
(-)a/installer/data/mysql/mandatory/auth_val_cat.sql (+1 lines)
Lines 17-22 INSERT IGNORE INTO authorised_value_categories( category_name, is_system ) Link Here
17
    ('ITEMTYPECAT', 0),
17
    ('ITEMTYPECAT', 0),
18
    ('PAYMENT_TYPE', 0),
18
    ('PAYMENT_TYPE', 0),
19
    ('PA_CLASS', 0),
19
    ('PA_CLASS', 0),
20
    ('HOLD_CANCELLATION', 0),
20
    ('ROADTYPE', 0);
21
    ('ROADTYPE', 0);
21
22
22
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
23
INSERT IGNORE INTO authorised_value_categories( category_name, is_system )
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-1 / +2 lines)
Lines 382-387 Link Here
382
            <p>General holdings: retention designator :: This data element specifies the retention policy for the unit at the time of the holdings report.</p>
382
            <p>General holdings: retention designator :: This data element specifies the retention policy for the unit at the time of the holdings report.</p>
383
        [% CASE 'HINGS_UT' %]
383
        [% CASE 'HINGS_UT' %]
384
            <p>General holdings: type of unit designator</p>
384
            <p>General holdings: type of unit designator</p>
385
        [% CASE 'HOLD_CANCELLATION' %]
386
            <p>Reasons why a hold might have been cancelled</p>
385
        [% CASE 'HSBND_FREQ' %]
387
        [% CASE 'HSBND_FREQ' %]
386
            <p>Frequencies used by the housebound module. They are displayed on the housebound tab in the patron account in staff.</p>
388
            <p>Frequencies used by the housebound module. They are displayed on the housebound tab in the patron account in staff.</p>
387
        [% CASE 'ITEMTYPECAT' %]
389
        [% CASE 'ITEMTYPECAT' %]
388
- 

Return to bug 25534