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

(-)a/C4/Reserves.pm (-2 / +2 lines)
Lines 2336-2342 sub GetReserveId { Link Here
2336
2336
2337
Returns letter hash ( see C4::Letters::GetPreparedLetter ) or undef
2337
Returns letter hash ( see C4::Letters::GetPreparedLetter ) or undef
2338
2338
2339
The letter code will be RESERVESLIP, and the following tables are
2339
The letter code will be HOLD_SLIP, and the following tables are
2340
available within the slip:
2340
available within the slip:
2341
2341
2342
    reserves
2342
    reserves
Lines 2361-2367 sub ReserveSlip { Link Here
2361
2361
2362
    return  C4::Letters::GetPreparedLetter (
2362
    return  C4::Letters::GetPreparedLetter (
2363
        module => 'circulation',
2363
        module => 'circulation',
2364
        letter_code => 'RESERVESLIP',
2364
        letter_code => 'HOLD_SLIP',
2365
        branchcode => $branch,
2365
        branchcode => $branch,
2366
        tables => {
2366
        tables => {
2367
            'reserves'    => $reserve,
2367
            'reserves'    => $reserve,
(-)a/installer/data/mysql/atomicupdate/bug_15443.sql (+1 lines)
Line 0 Link Here
1
UPDATE letter SET code = "HOLD_SLIP" WHERE code = "RESERVESLIP";
(-)a/installer/data/mysql/de-DE/mandatory/sample_notices.sql (-1 / +1 lines)
Lines 71-77 Signatur: <<items.itemcallnumber>><br/> Link Here
71
Fällig am: <<issues.date_due>><br />
71
Fällig am: <<issues.date_due>><br />
72
</p>
72
</p>
73
</checkedout>', 1),
73
</checkedout>', 1),
74
('circulation','RESERVESLIP','Vormerkquittung','Vormerkquittung', '<h2>Vormerkung</h2>
74
('circulation','HOLD_SLIP','Vormerkquittung','Vormerkquittung', '<h2>Vormerkung</h2>
75
<h4>Abholbereit seit: <<today>></h4>
75
<h4>Abholbereit seit: <<today>></h4>
76
<br/>
76
<br/>
77
Bibliothek: <<branches.branchname>> <br/>
77
Bibliothek: <<branches.branchname>> <br/>
(-)a/installer/data/mysql/en/mandatory/sample_notices.sql (-1 / +1 lines)
Lines 77-83 Barcode: <<items.barcode>><br /> Link Here
77
Date due: <<issues.date_due>><br />
77
Date due: <<issues.date_due>><br />
78
</p>
78
</p>
79
</checkedout>', 1),
79
</checkedout>', 1),
80
('circulation','RESERVESLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
80
('circulation','HOLD_SLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
81
81
82
<h3> Transfer to/Hold in <<branches.branchname>></h3>
82
<h3> Transfer to/Hold in <<branches.branchname>></h3>
83
83
(-)a/installer/data/mysql/es-ES/mandatory/sample_notices.sql (-1 / +1 lines)
Lines 69-75 Barcode: <<items.barcode>><br /> Link Here
69
Date due: <<issues.date_due>><br />
69
Date due: <<issues.date_due>><br />
70
</p>
70
</p>
71
</checkedout>', 1),
71
</checkedout>', 1),
72
('circulation','RESERVESLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
72
('circulation','HOLD_SLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
73
73
74
<h3> Transfer to/Hold in <<branches.branchname>></h3>
74
<h3> Transfer to/Hold in <<branches.branchname>></h3>
75
75
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql (-1 / +1 lines)
Lines 71-77 Code à barres : <<items.barcode>><br /> Link Here
71
Retour le : <<issues.date_due>><br />
71
Retour le : <<issues.date_due>><br />
72
</p>
72
</p>
73
</checkedout>', 1),
73
</checkedout>', 1),
74
('circulation','RESERVESLIP','Ticket de réservation','Ticket de réservation', '<h5>Date : <<today>></h5>
74
('circulation','HOLD_SLIP','Ticket de réservation','Ticket de réservation', '<h5>Date : <<today>></h5>
75
75
76
<h3> Transfert vers/Réservé à <<branches.branchname>></h3>
76
<h3> Transfert vers/Réservé à <<branches.branchname>></h3>
77
77
(-)a/installer/data/mysql/it-IT/necessari/notices.sql (-1 / +1 lines)
Lines 71-77 Codice a barre: <<items.barcode>><br /> Link Here
71
Data di scadenza: <<issues.date_due>><br />
71
Data di scadenza: <<issues.date_due>><br />
72
</p>
72
</p>
73
</checkedout>', 1),
73
</checkedout>', 1),
74
('circulation','RESERVESLIP','Hold Slip','Ricevuta (prenotazione)', '<h5>Data: <<today>></h5>
74
('circulation','HOLD_SLIP','Hold Slip','Ricevuta (prenotazione)', '<h5>Data: <<today>></h5>
75
75
76
<h3> Trasferita a/Prenotata in <<branches.branchname>></h3>
76
<h3> Trasferita a/Prenotata in <<branches.branchname>></h3>
77
77
(-)a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql (-1 / +1 lines)
Lines 92-98 Strekkode: <<items.barcode>><br /> Link Here
92
Innleveringsfrist: <<issues.date_due>><br />
92
Innleveringsfrist: <<issues.date_due>><br />
93
</p>
93
</p>
94
</checkedout>', 1),
94
</checkedout>', 1),
95
('circulation','RESERVESLIP','Reservasjon','Reservasjon', '<h5>Dato: <<today>></h5>
95
('circulation','HOLD_SLIP','Reservasjon','Reservasjon', '<h5>Dato: <<today>></h5>
96
96
97
<h3> Overfør til/Reservasjon hos <<branches.branchname>></h3>
97
<h3> Overfør til/Reservasjon hos <<branches.branchname>></h3>
98
98
(-)a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql (-1 / +1 lines)
Lines 70-76 Barcode: <<items.barcode>><br /> Link Here
70
Date due: <<issues.date_due>><br />
70
Date due: <<issues.date_due>><br />
71
</p>
71
</p>
72
</checkedout>', 1),
72
</checkedout>', 1),
73
('circulation','RESERVESLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
73
('circulation','HOLD_SLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
74
74
75
<h3> Transfer to/Hold in <<branches.branchname>></h3>
75
<h3> Transfer to/Hold in <<branches.branchname>></h3>
76
76
(-)a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql (-1 / +1 lines)
Lines 70-76 Barcode: <<items.barcode>><br /> Link Here
70
Date due: <<issues.date_due>><br />
70
Date due: <<issues.date_due>><br />
71
</p>
71
</p>
72
</checkedout>', 1),
72
</checkedout>', 1),
73
('circulation','RESERVESLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
73
('circulation','HOLD_SLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
74
74
75
<h3> Transfer to/Hold in <<branches.branchname>></h3>
75
<h3> Transfer to/Hold in <<branches.branchname>></h3>
76
76
(-)a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql (-1 / +1 lines)
Lines 69-75 Barcode: <<items.barcode>><br /> Link Here
69
Date due: <<issues.date_due>><br />
69
Date due: <<issues.date_due>><br />
70
</p>
70
</p>
71
</checkedout>', 1),
71
</checkedout>', 1),
72
('circulation','RESERVESLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
72
('circulation','HOLD_SLIP','Hold Slip','Hold Slip', '<h5>Date: <<today>></h5>
73
73
74
<h3> Transfer to/Hold in <<branches.branchname>></h3>
74
<h3> Transfer to/Hold in <<branches.branchname>></h3>
75
75
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +2 lines)
Lines 4846-4852 Date due: <<issues.date_due>><br /> Link Here
4846
</p>
4846
</p>
4847
</checkedout>', 1)");
4847
</checkedout>', 1)");
4848
    $dbh->do("INSERT INTO `letter` (module, code, name, title, content, is_html)
4848
    $dbh->do("INSERT INTO `letter` (module, code, name, title, content, is_html)
4849
              VALUES ('circulation','RESERVESLIP','Reserve Slip','Reserve Slip', '<h5>Date: <<today>></h5>
4849
              VALUES ('circulation','HOLD_SLIP','Reserve Slip','Reserve Slip', '<h5>Date: <<today>></h5>
4850
4850
4851
<h3> Transfer to/Hold in <<branches.branchname>></h3>
4851
<h3> Transfer to/Hold in <<branches.branchname>></h3>
4852
4852
Lines 4890-4896 Date due: <<issues.date_due>><br /> Link Here
4890
4890
4891
    $dbh->do("UPDATE `letter` SET content = replace(content, '<<title>>', '<<biblio.title>>') WHERE code = 'HOLDPLACED'");
4891
    $dbh->do("UPDATE `letter` SET content = replace(content, '<<title>>', '<<biblio.title>>') WHERE code = 'HOLDPLACED'");
4892
4892
4893
    print "Upgrade to $DBversion done (Add branchcode and is_html to letter table; Default ISSUESLIP, RESERVESLIP and TRANSFERSLIP letters; Add NoticeCSS and SlipCSS sysprefs)\n";
4893
    print "Upgrade to $DBversion done (Add branchcode and is_html to letter table; Default ISSUESLIP, HOLD_SLIP and TRANSFERSLIP letters; Add NoticeCSS and SlipCSS sysprefs)\n";
4894
    SetVersion($DBversion);
4894
    SetVersion($DBversion);
4895
}
4895
}
4896
4896
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/letter.tt (-2 / +1 lines)
Lines 278-284 Barcode: &lt;&lt;items.barcode&gt;&gt; , Checkout date: Link Here
278
    <li>The slip or receipt will show items checked out today as well as items that are still checked out</li>
278
    <li>The slip or receipt will show items checked out today as well as items that are still checked out</li>
279
</ul>
279
</ul>
280
</li>
280
</li>
281
    <li>RESERVESLIP
281
    <li>HOLD_SLIP
282
<ul>
282
<ul>
283
    <li>Used to print a holds slip</li>
283
    <li>Used to print a holds slip</li>
284
    <li>The holds slip is generated when a hold is confirmed</li>
284
    <li>The holds slip is generated when a hold is confirmed</li>
285
- 

Return to bug 15443