Bug 12224: Print a slip of borrower's checkins for today
[koha.git] / installer / data / mysql / atomicupdate / bug_12224-add_CHECKINSLIP_notice.perl
1 $DBversion = 'XXX';
2 if( CheckVersion( $DBversion ) ) {
3     $dbh->do(q{ INSERT IGNORE INTO letter (module, code, branchcode, name, is_html, title, content, message_transport_type) VALUES
4         ('circulation','CHECKINSLIP','','Checkin slip',1,'Checkin slip',
5 "<h3><<branches.branchname>></h3>
6 Checked in items for <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
7 (<<borrowers.cardnumber>>) <br />
8
9 <<today>><br />
10
11 <h4>Checked in today</h4>
12 <checkedin>
13 <p>
14 <<biblio.title>> <br />
15 Barcode: <<items.barcode>><br />
16 </p>
17 </checkedin>",
18         'print')
19     });
20
21     NewVersion( $DBversion, 12224, "Add CHECKINSLIP notice" );
22 }