|
Lines 116-120
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`
Link Here
|
| 116 |
</tfoot> |
116 |
</tfoot> |
| 117 |
</table>', 'print', 'default'); |
117 |
</table>', 'print', 'default'); |
| 118 |
|
118 |
|
|
|
119 |
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) VALUES |
| 120 |
('circulation', 'ACCOUNT_DEBIT', '', 'Account fee', 0, 'Account fee', '<table> |
| 121 |
[% IF ( LibraryName ) %] |
| 122 |
<tr> |
| 123 |
<th colspan="5" class="centerednames"> |
| 124 |
<h3>[% LibraryName | html %]</h3> |
| 125 |
</th> |
| 126 |
</tr> |
| 127 |
[% END %] |
| 128 |
|
| 129 |
<tr> |
| 130 |
<th colspan="5" class="centerednames"> |
| 131 |
<h2><u>INVOICE</u></h2> |
| 132 |
</th> |
| 133 |
</tr> |
| 134 |
<tr> |
| 135 |
<th colspan="5" class="centerednames"> |
| 136 |
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2> |
| 137 |
</th> |
| 138 |
</tr> |
| 139 |
<tr> |
| 140 |
<th colspan="5" > |
| 141 |
Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br /> |
| 142 |
Card number: [% patron.cardnumber | html %]<br /> |
| 143 |
</th> |
| 144 |
</tr> |
| 145 |
<tr> |
| 146 |
<th>Date</th> |
| 147 |
<th>Description of charges</th> |
| 148 |
<th>Note</th> |
| 149 |
<th style="text-align:right;">Amount</th> |
| 150 |
<th style="text-align:right;">Amount outstanding</th> |
| 151 |
</tr> |
| 152 |
|
| 153 |
[% FOREACH account IN accounts %] |
| 154 |
<tr class="highlight"> |
| 155 |
<td>[% account.date | $KohaDates%]</td> |
| 156 |
<td> |
| 157 |
[% PROCESS account_type_description account=account %] |
| 158 |
[%- IF account.description %], [% account.description | html %][% END %] |
| 159 |
</td> |
| 160 |
<td>[% account.note | html %]</td> |
| 161 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td> |
| 162 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding | $Price %]</td> |
| 163 |
</tr> |
| 164 |
[% END %] |
| 165 |
|
| 166 |
<tfoot> |
| 167 |
<tr> |
| 168 |
<td colspan="4">Total outstanding dues as on date: </td> |
| 169 |
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td> |
| 170 |
</tr> |
| 171 |
</tfoot> |
| 172 |
</table>', 'print', 'default'); |
| 173 |
|
| 119 |
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES |
174 |
INSERT INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES |
| 120 |
('circulation', 'SR_SLIP', '', 'Ticket de rotation automatique d\'exemplaires', 0, 'Rapport de rotation automatique d\'exemplaires', 'Rapport de rotation automatique d\'exemplaires pour [% branch.name %]:\r\n\r\n[% IF branch.items.size %][% branch.items.size %] exemplaires de cette bibliothèque à traiter.\r\n[% ELSE %]Aucun exemplaire de cette bibliothèque à traiter\r\n[% END %][% FOREACH item IN branch.items %][% IF item.reason != \'in-demand\' %]Titre : [% item.title %]\r\nAuteur : [% item.author %]\r\nCote : [% item.callnumber %]\r\nLocalisation : [% item.location %]\r\nCode-barres: [% item.barcode %]\r\nEn prêt? : [% item.onloan %]\r\nStatut : [% item.reason %]\r\nBibliothèque dépositaire : [% item.branch.branchname %] [% item.branch.branchcode %]\r\n\r\n[% END %][% END %]', 'email'); |
175 |
('circulation', 'SR_SLIP', '', 'Ticket de rotation automatique d\'exemplaires', 0, 'Rapport de rotation automatique d\'exemplaires', 'Rapport de rotation automatique d\'exemplaires pour [% branch.name %]:\r\n\r\n[% IF branch.items.size %][% branch.items.size %] exemplaires de cette bibliothèque à traiter.\r\n[% ELSE %]Aucun exemplaire de cette bibliothèque à traiter\r\n[% END %][% FOREACH item IN branch.items %][% IF item.reason != \'in-demand\' %]Titre : [% item.title %]\r\nAuteur : [% item.author %]\r\nCote : [% item.callnumber %]\r\nLocalisation : [% item.location %]\r\nCode-barres: [% item.barcode %]\r\nEn prêt? : [% item.onloan %]\r\nStatut : [% item.reason %]\r\nBibliothèque dépositaire : [% item.branch.branchname %] [% item.branch.branchcode %]\r\n\r\n[% END %][% END %]', 'email'); |