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

(-)a/installer/data/mysql/en/mandatory/sample_notices.sql (-21 / +25 lines)
Lines 29-58 VALUES ('members', 'DISCHARGE', 'Discharge confirmation', 'Discharge for <<borro Link Here
29
has returned all items.</p>', 1, 'email');
29
has returned all items.</p>', 1, 'email');
30
30
31
INSERT INTO `letter` (module, code, name, title, content, is_html)
31
INSERT INTO `letter` (module, code, name, title, content, is_html)
32
VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<h3><<branches.branchname>></h3>
32
VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %] 
33
Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
33
<h3>[% branch.branchname %]</h3>
34
(<<borrowers.cardnumber>>) <br />
34
Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br />
35
([% borrower.cardnumber %]) <br />
35
36
36
<<today>><br />
37
[% today | $KohaDates %]<br />
37
38
38
<h4>Checked Out</h4>
39
<h4>Checked Out</h4>
39
<checkedout>
40
[% FOREACH checkout IN borrower.checkouts %]
40
<p>
41
    [% IF ! checkout.is_overdue %]
41
<<biblio.title>> <br />
42
         <p>
42
Barcode: <<items.barcode>><br />
43
            [% checkout.item.biblio.title %] <br />
43
Date due: <<issues.date_due>><br />
44
            Barcode: [% checkout.item.barcode %]<br/>
44
</p>
45
            Date due: [% checkout.date_due | $KohaDates %]<br />
45
</checkedout>
46
        </p>
47
    [% END %]
48
[% END %]
46
49
47
<h4>Overdues</h4>
50
<h4>Overdues</h4>
48
<overdue>
51
[% FOREACH checkout IN borrower.checkouts %]
49
<p>
52
    [% IF checkout.is_overdue %]
50
<<biblio.title>> <br />
53
        <p>
51
Barcode: <<items.barcode>><br />
54
             [% checkout.item.biblio.title %] <br />
52
Date due: <<issues.date_due>><br />
55
             Barcode: [% checkout.item.barcode %]<br />
53
</p>
56
             Date due: [% checkout.date_due | $KohaDates %]<br />
54
</overdue>
57
        </p>
55
58
    [% END %]
59
[% END %]
56
<hr>
60
<hr>
57
61
58
<h4 style="text-align: center; font-style:italic;">News</h4>
62
<h4 style="text-align: center; font-style:italic;">News</h4>
Lines 63-69 Date due: <<issues.date_due>><br /> Link Here
63
<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p>
67
<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p>
64
<hr />
68
<hr />
65
</div>
69
</div>
66
</news>', 1),
70
</news>
71
',1),
67
('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '<h3><<branches.branchname>></h3>
72
('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '<h3><<branches.branchname>></h3>
68
Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
73
Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br />
69
(<<borrowers.cardnumber>>) <br />
74
(<<borrowers.cardnumber>>) <br />
70
- 

Return to bug 15284