|
Lines 52-119
tables:
Link Here
|
| 52 |
message_transport_type: print |
52 |
message_transport_type: print |
| 53 |
lang: default |
53 |
lang: default |
| 54 |
content: |
54 |
content: |
| 55 |
- "[% USE Price %]" |
55 |
- "[% PROCESS \"accounts.inc\" %]" |
| 56 |
- "[% PROCESS 'accounts.inc' %]" |
|
|
| 57 |
- "<table>" |
56 |
- "<table>" |
| 58 |
- "[% IF ( LibraryName ) %]" |
57 |
- " [% IF ( LibraryName ) %]" |
| 59 |
- " <tr>" |
58 |
- " <tr>" |
| 60 |
- " <th colspan=\"5\" class=\"centerednames\">" |
59 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 61 |
- " <h3>[% LibraryName | html %]</h3>" |
60 |
- " <h3>[% LibraryName | html %]</h3>" |
| 62 |
- " </th>" |
61 |
- " </th>" |
| 63 |
- " </tr>" |
62 |
- " </tr>" |
| 64 |
- "[% END %]" |
63 |
- " [% END %]" |
| 65 |
- " <tr>" |
64 |
- " [% IF credit.library %]" |
| 66 |
- " <th colspan=\"5\" class=\"centerednames\">" |
65 |
- " <tr>" |
| 67 |
- " <h2><u>Fee receipt</u></h2>" |
66 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 68 |
- " </th>" |
67 |
- " <h2>[% credit.library.branchname | html %]</h2>" |
| 69 |
- " </tr>" |
68 |
- " </th>" |
| 70 |
- " <tr>" |
69 |
- " </tr>" |
| 71 |
- " <th colspan=\"5\" class=\"centerednames\">" |
70 |
- " [% END %]" |
| 72 |
- " <h2>[% Branches.GetName( credit.patron.branchcode ) | html %]</h2>" |
71 |
- " <tr>" |
| 73 |
- " </th>" |
72 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 74 |
- " </tr>" |
73 |
- " <h3>[% credit.date | $KohaDates %]</h3>" |
| 75 |
- " <tr>" |
74 |
- " </th>" |
| 76 |
- " <th colspan=\"5\">" |
75 |
- " </tr>" |
|
|
76 |
- " <tr>" |
| 77 |
- " <td>Transaction ID: </td>" |
| 78 |
- " <td>[% credit.accountlines_id %]</td>" |
| 79 |
- " </tr>" |
| 80 |
- " <tr>" |
| 81 |
- " <td>Operator ID: </td>" |
| 82 |
- " <td>[% credit.manager_id %]</td>" |
| 83 |
- " </tr>" |
| 84 |
- " <tr>" |
| 85 |
- " <td>Payment type: </td>" |
| 86 |
- " <td>[% credit.payment_type %]</td>" |
| 87 |
- " </tr>" |
| 88 |
- " <tr>" |
| 89 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 90 |
- " <h2><u>Payment receipt</u></h2>" |
| 91 |
- " </th>" |
| 92 |
- " </tr>" |
| 93 |
- " <tr>" |
| 94 |
- " <th colspan=\"2\">" |
| 77 |
- " Received with thanks from [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
95 |
- " Received with thanks from [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
| 78 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
96 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
| 79 |
- " </th>" |
97 |
- " </th>" |
| 80 |
- " </tr>" |
98 |
- " </tr>" |
| 81 |
- " <tr>" |
99 |
- " <tr>" |
| 82 |
- " <th>Created</th>" |
100 |
- " <th>Description of charges</th>" |
| 83 |
- " <th>Updated</th>" |
101 |
- " <th>Amount</th>" |
| 84 |
- " <th>Description of charges</th>" |
102 |
- " </tr>" |
| 85 |
- " <th>Note</th>" |
103 |
- " [% FOREACH offset IN credit.credit_offsets %]" |
| 86 |
- " <th>Amount</th>" |
104 |
- " <tr>" |
| 87 |
- " </tr>" |
105 |
- " <td>[% PROCESS account_type_description account=offset.debit %]</td>" |
| 88 |
- "" |
106 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
| 89 |
- " <tr class=\"highlight\">" |
107 |
- " </tr>" |
| 90 |
- " <td>[% credit.date | $KohaDates %]</td>" |
108 |
- " [% END %]" |
| 91 |
- " <td>[% credit.timestamp | $KohaDates with_hours = 1 %]</td>" |
109 |
- " <tfoot>" |
| 92 |
- " <td>" |
110 |
- " <tr class=\"highlight\">" |
| 93 |
- " [% PROCESS account_type_description account=credit %]" |
111 |
- " <td>Total:</td>" |
| 94 |
- " [%- IF credit.description %], [% credit.description | html %][% END %]" |
112 |
- " <td>[% credit.amount * -1 | $Price %]</td>" |
| 95 |
- " </td>" |
113 |
- " </tr>" |
| 96 |
- " <td>[% credit.note | html %]</td>" |
114 |
- " <tr>" |
| 97 |
- " <td class=\"credit\">[% credit.amount | $Price %]</td>" |
115 |
- " <td>Change given: </td>" |
| 98 |
- " </tr>" |
116 |
- " <td>[% change | $Price %]</td>" |
| 99 |
- "" |
117 |
- " </tr>" |
| 100 |
- "[% IF ( tendered ) %]" |
118 |
- " <tr>" |
| 101 |
- " <tr>" |
119 |
- " <td colspan=\"2\"></td>" |
| 102 |
- " <td colspan=\"3\">Amount tendered: </td>" |
120 |
- " </tr>" |
| 103 |
- " <td>[% tendered | $Price %]</td>" |
121 |
- " <tr>" |
| 104 |
- " </tr>" |
122 |
- " <td>Account balance as on date:</td>" |
| 105 |
- " <tr>" |
123 |
- " <td>[% credit.patron.account.balance * -1 | $Price %]</td>" |
| 106 |
- " <td colspan=\"3\">Change given: </td>" |
124 |
- " </tr>" |
| 107 |
- " <td>[% change | $Price %]</td>" |
125 |
- " </tfoot>" |
| 108 |
- " </tr>" |
|
|
| 109 |
- "[% END %]" |
| 110 |
- "" |
| 111 |
- "<tfoot>" |
| 112 |
- " <tr>" |
| 113 |
- " <td colspan=\"4\">Total outstanding dues as on date: </td>" |
| 114 |
- " [% IF ( credit.patron.account.balance >= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% credit.patron.account.balance | $Price %]</td>" |
| 115 |
- " </tr>" |
| 116 |
- "</tfoot>" |
| 117 |
- "</table>" |
126 |
- "</table>" |
| 118 |
|
127 |
|
| 119 |
- module: circulation |
128 |
- module: circulation |
|
Lines 126-182
tables:
Link Here
|
| 126 |
lang: default |
135 |
lang: default |
| 127 |
content: |
136 |
content: |
| 128 |
- "[% USE Price %]" |
137 |
- "[% USE Price %]" |
| 129 |
- "[% PROCESS 'accounts.inc' %]" |
138 |
- "[% PROCESS \"accounts.inc\" %]" |
| 130 |
- "<table>" |
139 |
- "<table>" |
| 131 |
- " [% IF ( LibraryName ) %]" |
140 |
- " [% IF ( LibraryName ) %]" |
| 132 |
- " <tr>" |
141 |
- " <tr>" |
| 133 |
- " <th colspan=\"6\" class=\"centerednames\">" |
142 |
- " <th colspan=\"3\" class=\"centerednames\">" |
| 134 |
- " <h3>[% LibraryName | html %]</h3>" |
143 |
- " <h3>[% LibraryName | html %]</h3>" |
| 135 |
- " </th>" |
144 |
- " </th>" |
| 136 |
- " </tr>" |
145 |
- " </tr>" |
| 137 |
- " [% END %]" |
146 |
- " [% END %]" |
| 138 |
- "" |
147 |
- " [% IF debit.library %]" |
| 139 |
- " <tr>" |
148 |
- " <tr>" |
| 140 |
- " <th colspan=\"6\" class=\"centerednames\">" |
149 |
- " <th colspan=\"3\" class=\"centerednames\">" |
| 141 |
- " <h2><u>INVOICE</u></h2>" |
150 |
- " <h2>[% debit.library.branchname | html %]</h2>" |
| 142 |
- " </th>" |
151 |
- " </th>" |
| 143 |
- " </tr>" |
152 |
- " </tr>" |
| 144 |
- " <tr>" |
153 |
- " [% END %]" |
| 145 |
- " <th colspan=\"6\" class=\"centerednames\">" |
154 |
- " <tr>" |
| 146 |
- " <h2>[% Branches.GetName( debit.patron.branchcode ) | html %]</h2>" |
155 |
- " <th colspan=\"3\" class=\"centerednames\">" |
| 147 |
- " </th>" |
156 |
- " <h3>[% debit.date | $KohaDates %]</h3>" |
| 148 |
- " </tr>" |
157 |
- " </th>" |
| 149 |
- " <tr>" |
158 |
- " </tr>" |
| 150 |
- " <th colspan=\"6\" >" |
159 |
- " <tr>" |
| 151 |
- " Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />" |
160 |
- " <td colspan=\"2\" style=\"text-align:right;\">Fee ID: </td>" |
| 152 |
- " Card number: [% debit.patron.cardnumber | html %]<br />" |
161 |
- " <td>[% debit.accountlines_id %]</td>" |
| 153 |
- " </th>" |
162 |
- " </tr>" |
| 154 |
- " </tr>" |
163 |
- " [% IF credit.manager_id %]" |
| 155 |
- " <tr>" |
164 |
- " <tr>" |
| 156 |
- " <th>Created</th>" |
165 |
- " <td colspan=\"2\" style=\"text-align:right;\">Operator ID: </td>" |
| 157 |
- " <th>Updated</th>" |
166 |
- " <td>[% credit.manager_id %]</td>" |
| 158 |
- " <th>Description of charges</th>" |
167 |
- " </tr>" |
| 159 |
- " <th>Note</th>" |
168 |
- " [% END %]" |
| 160 |
- " <th style=\"text-align:right;\">Amount</th>" |
169 |
- " <tr>" |
| 161 |
- " <th style=\"text-align:right;\">Amount outstanding</th>" |
170 |
- " <th colspan=\"3\" class=\"centerednames\">" |
| 162 |
- " </tr>" |
171 |
- " <h2><u>Invoice</u></h2>" |
| 163 |
- "" |
172 |
- " </th>" |
| 164 |
- " <tr class=\"highlight\">" |
173 |
- " </tr>" |
| 165 |
- " <td>[% debit.date | $KohaDates%]</td>" |
174 |
- " <tr>" |
| 166 |
- " <td>[% debit.timestamp | $KohaDates with_hours = 1 %]</td>" |
175 |
- " <th colspan=\"3\" >" |
| 167 |
- " <td>" |
176 |
- " Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />" |
| 168 |
- " [% PROCESS account_type_description account=debit %]" |
177 |
- " Card number: [% debit.patron.cardnumber | html %]<br />" |
| 169 |
- " [%- IF debit.description %], [% debit.description | html %][% END %]" |
178 |
- " </th>" |
| 170 |
- " </td>" |
179 |
- " </tr>" |
| 171 |
- " <td>[% debit.note | html %]</td>" |
180 |
- " [% IF debit.amount != debit.amountoutstanding %]" |
| 172 |
- " <td class=\"debit\">[% debit.amount | $Price %]</td>" |
181 |
- " <tr>" |
| 173 |
- " <td class=\"debit\">[% debit.amountoutstanding | $Price %]</td>" |
182 |
- " <th>Date</th>" |
| 174 |
- " </tr>" |
183 |
- " <th>Description of payments</th>" |
| 175 |
- "" |
184 |
- " <th>Amount</th>" |
|
|
185 |
- " </tr>" |
| 186 |
- " [% FOREACH offset IN debit.debit_offsets %]" |
| 187 |
- " <tr>" |
| 188 |
- " <td>[% offset.credit.date | $KohaDates %]</td>" |
| 189 |
- " <td>[% PROCESS account_type_description account=offset.credit %]</td>" |
| 190 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
| 191 |
- " </tr>" |
| 192 |
- " [% END %]" |
| 193 |
- " <tr class=\"highlight\">" |
| 194 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total paid:</td>" |
| 195 |
- " <td>[% debit.amount - debit.amountoutstanding | $Price %]</td>" |
| 196 |
- " </tr>" |
| 197 |
- " [% END %]" |
| 198 |
- " </tr>" |
| 199 |
- " <td colspan=\"3\"></td>" |
| 200 |
- " <tr>" |
| 176 |
- " <tfoot>" |
201 |
- " <tfoot>" |
| 177 |
- " <tr>" |
202 |
- " <tr>" |
| 178 |
- " <td colspan=\"5\">Total outstanding dues as on date: </td>" |
203 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total owed:</td>" |
| 179 |
- " [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>" |
204 |
- " <td>[% debit.amount | $Price %]</td>" |
|
|
205 |
- " </tr>" |
| 206 |
- " <tr>" |
| 207 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total outstanding:</td>" |
| 208 |
- " <td>[% debit.amountoutstanding | $Price %]</td>" |
| 180 |
- " </tr>" |
209 |
- " </tr>" |
| 181 |
- " </tfoot>" |
210 |
- " </tfoot>" |
| 182 |
- "</table>" |
211 |
- "</table>" |
|
Lines 1239-1305
tables:
Link Here
|
| 1239 |
- "[% USE Price %]" |
1268 |
- "[% USE Price %]" |
| 1240 |
- "[% PROCESS \"accounts.inc\" %]" |
1269 |
- "[% PROCESS \"accounts.inc\" %]" |
| 1241 |
- "<table>" |
1270 |
- "<table>" |
| 1242 |
- "[% IF ( LibraryName ) %]" |
1271 |
- " [% IF ( LibraryName ) %]" |
| 1243 |
- " <tr>" |
1272 |
- " <tr>" |
| 1244 |
- " <th colspan=\"2\" class=\"centerednames\">" |
1273 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 1245 |
- " <h3>[% LibraryName | html %]</h3>" |
1274 |
- " <h3>[% LibraryName | html %]</h3>" |
| 1246 |
- " </th>" |
1275 |
- " </th>" |
| 1247 |
- " </tr>" |
1276 |
- " </tr>" |
| 1248 |
- "[% END %]" |
1277 |
- " [% END %]" |
| 1249 |
- " <tr>" |
1278 |
- " [% IF credit.library %]" |
| 1250 |
- " <th colspan=\"2\" class=\"centerednames\">" |
1279 |
- " <tr>" |
| 1251 |
- " <h2>[% Branches.GetName( credit.branchcode ) | html %]</h2>" |
1280 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 1252 |
- " </th>" |
1281 |
- " <h2>[% payment.library.branchname ) | html %]</h2>" |
| 1253 |
- " </tr>" |
1282 |
- " </th>" |
| 1254 |
- "<tr>" |
1283 |
- " </tr>" |
| 1255 |
- " <th colspan=\"2\" class=\"centerednames\">" |
1284 |
- " [% END %]" |
| 1256 |
- " <h3>[% credit.date | $KohaDates %]</h3>" |
1285 |
- " <tr>" |
| 1257 |
- "</tr>" |
1286 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 1258 |
- "<tr>" |
1287 |
- " <h3>[% payment.date | $KohaDates %]</h3>" |
| 1259 |
- " <td>Transaction ID: </td>" |
1288 |
- " </th>" |
| 1260 |
- " <td>[% credit.accountlines_id %]</td>" |
1289 |
- " </tr>" |
| 1261 |
- "</tr>" |
1290 |
- " <tr>" |
| 1262 |
- "<tr>" |
1291 |
- " <td>Transaction ID: </td>" |
| 1263 |
- " <td>Operator ID: </td>" |
1292 |
- " <td>[% payment.accountlines_id %]</td>" |
| 1264 |
- " <td>[% credit.manager_id %]</td>" |
1293 |
- " </tr>" |
| 1265 |
- "</tr>" |
1294 |
- " <tr>" |
| 1266 |
- "<tr>" |
1295 |
- " <td>Operator ID: </td>" |
| 1267 |
- " <td>Payment type: </td>" |
1296 |
- " <td>[% payment.manager_id %]</td>" |
| 1268 |
- " <td>[% credit.payment_type %]</td>" |
1297 |
- " </tr>" |
| 1269 |
- "</tr>" |
1298 |
- " <tr>" |
| 1270 |
- " <tr></tr>" |
1299 |
- " <td>Payment type: </td>" |
| 1271 |
- " <tr>" |
1300 |
- " <td>[% payment.payment_type %]</td>" |
| 1272 |
- " <th colspan=\"2\" class=\"centerednames\">" |
1301 |
- " </tr>" |
| 1273 |
- " <h2><u>Fee receipt</u></h2>" |
1302 |
- " <tr>" |
| 1274 |
- " </th>" |
1303 |
- " <th colspan=\"2\" class=\"centerednames\">" |
| 1275 |
- " </tr>" |
1304 |
- " <h2><u>Payment receipt</u></h2>" |
| 1276 |
- " <tr></tr>" |
1305 |
- " </th>" |
| 1277 |
- " <tr>" |
1306 |
- " </tr>" |
| 1278 |
- " <th>Description of charges</th>" |
1307 |
- " <tr>" |
| 1279 |
- " <th>Amount</th>" |
1308 |
- " <th>Description of charges</th>" |
| 1280 |
- " </tr>" |
1309 |
- " <th>Amount</th>" |
| 1281 |
- "" |
1310 |
- " </tr>" |
| 1282 |
- " [% FOREACH debit IN credit.debits %]" |
1311 |
- " [% FOREACH offset IN payment.credit_offsets %]" |
| 1283 |
- " <tr>" |
1312 |
- " <tr>" |
| 1284 |
- " <td>[% PROCESS account_type_description account=debit %]</td>" |
1313 |
- " <td>[% PROCESS account_type_description account=debit %]</td>" |
| 1285 |
- " <td>[% debit.amount * -1 | $Price %]</td>" |
1314 |
- " <td>[% debit.amount * -1 | $Price %]</td>" |
| 1286 |
- " </tr>" |
1315 |
- " </tr>" |
| 1287 |
- " [% END %]" |
1316 |
- " [% END %]" |
| 1288 |
- "" |
1317 |
- " <tfoot>" |
| 1289 |
- "<tfoot>" |
1318 |
- " <tr class=\"highlight\">" |
| 1290 |
- " <tr class=\"highlight\">" |
1319 |
- " <td>Total:</td>" |
| 1291 |
- " <td>Total: </td>" |
1320 |
- " <td>[% payment.amount * -1 | $Price %]</td>" |
| 1292 |
- " <td>[% credit.amount * -1| $Price %]</td>" |
|
|
| 1293 |
- " </tr>" |
| 1294 |
- " <tr>" |
| 1295 |
- " <td>Tendered: </td>" |
| 1296 |
- " <td>[% collected | $Price %]</td>" |
| 1297 |
- " </tr>" |
| 1298 |
- " <tr>" |
| 1299 |
- " <td>Change: </td>" |
| 1300 |
- " <td>[% change | $Price %]</td>" |
| 1301 |
- " </tr>" |
1321 |
- " </tr>" |
| 1302 |
- "</tfoot>" |
1322 |
- " <tr>" |
|
|
1323 |
- " <td>Tendered: </td>" |
| 1324 |
- " <td>[% tendered | $Price %]</td>" |
| 1325 |
- " </tr>" |
| 1326 |
- " <tr>" |
| 1327 |
- " <td>Change given:</td>" |
| 1328 |
- " <td>[% change | $Price %]</td>" |
| 1329 |
- " </tr>" |
| 1330 |
- " </tfoot>" |
| 1303 |
- "</table>" |
1331 |
- "</table>" |
| 1304 |
|
1332 |
|
| 1305 |
- module: reserves |
1333 |
- module: reserves |
| 1306 |
- |
|
|