Lines 4807-4819
Date due: <<issues.date_due>><br />
Link Here
|
4807 |
<p>Notes: |
4807 |
<p>Notes: |
4808 |
<pre><<reserves.reservenotes>></pre> |
4808 |
<pre><<reserves.reservenotes>></pre> |
4809 |
</p>', 1)"); |
4809 |
</p>', 1)"); |
|
|
4810 |
$dbh->do("INSERT INTO `letter` (module, code, name, title, content, is_html) |
4811 |
VALUES ('circulation','TRANSFERSLIP','Transfer Slip','Transfer Slip', '<h5>Date: <<today>></h5> |
4812 |
<h3>Transfer to <<branches.branchname>></h3> |
4813 |
|
4814 |
<h3>ITEM</h3> |
4815 |
<h4><<biblio.title>></h4> |
4816 |
<h5><<biblio.author>></h5> |
4817 |
<ul> |
4818 |
<li><<items.barcode>></li> |
4819 |
<li><<items.itemcallnumber>></li> |
4820 |
</ul>', 1)"); |
4810 |
|
4821 |
|
4811 |
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('NoticeCSS','','Notices CSS url.',NULL,'free')"); |
4822 |
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('NoticeCSS','','Notices CSS url.',NULL,'free')"); |
4812 |
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SlipCSS','','Slips CSS url.',NULL,'free')"); |
4823 |
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SlipCSS','','Slips CSS url.',NULL,'free')"); |
4813 |
|
4824 |
|
4814 |
$dbh->do("UPDATE `letter` SET content = replace(content, '<<title>>', '<<biblio.title>>') WHERE code = 'HOLDPLACED'"); |
4825 |
$dbh->do("UPDATE `letter` SET content = replace(content, '<<title>>', '<<biblio.title>>') WHERE code = 'HOLDPLACED'"); |
4815 |
|
4826 |
|
4816 |
print "Upgrade to $DBversion done (Add branchcode and is_html to letter table; Default ISSUESLIP and RESERVESLIP letters; Add NoticeCSS and SlipCSS sysprefs)\n"; |
4827 |
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"; |
4817 |
SetVersion($DBversion); |
4828 |
SetVersion($DBversion); |
4818 |
} |
4829 |
} |
4819 |
|
4830 |
|
4820 |
- |
|
|