Lines 52-58
tables:
Link Here
|
52 |
message_transport_type: print |
52 |
message_transport_type: print |
53 |
lang: default |
53 |
lang: default |
54 |
content: |
54 |
content: |
55 |
- "[% PROCESS \"accounts.inc\" %]" |
55 |
- "[%- USE AuthorisedValues -%]" |
|
|
56 |
- "[%- PROCESS \"accounts.inc\" -%]" |
56 |
- "<table>" |
57 |
- "<table>" |
57 |
- " [% IF ( LibraryName ) %]" |
58 |
- " [% IF ( LibraryName ) %]" |
58 |
- " <tr>" |
59 |
- " <tr>" |
Lines 70-76
tables:
Link Here
|
70 |
- " [% END %]" |
71 |
- " [% END %]" |
71 |
- " <tr>" |
72 |
- " <tr>" |
72 |
- " <th colspan=\"2\" class=\"centerednames\">" |
73 |
- " <th colspan=\"2\" class=\"centerednames\">" |
73 |
- " <h3>[% credit.date | $KohaDates %]</h3>" |
74 |
- " <h3>[% today | $KohaDates %]</h3>" |
74 |
- " </th>" |
75 |
- " </th>" |
75 |
- " </tr>" |
76 |
- " </tr>" |
76 |
- " <tr>" |
77 |
- " <tr>" |
Lines 81-120
tables:
Link Here
|
81 |
- " <td>Operator ID: </td>" |
82 |
- " <td>Operator ID: </td>" |
82 |
- " <td>[% credit.manager_id %]</td>" |
83 |
- " <td>[% credit.manager_id %]</td>" |
83 |
- " </tr>" |
84 |
- " </tr>" |
|
|
85 |
- " [% IF credit.payment_type %]" |
84 |
- " <tr>" |
86 |
- " <tr>" |
85 |
- " <td>Payment type: </td>" |
87 |
- " <td>Payment type: </td>" |
86 |
- " <td>[% credit.payment_type %]</td>" |
88 |
- " <td>[% AuthorisedValues.GetByCode('PAYMENT_TYPE', credit.payment_type) %]</td>" |
87 |
- " </tr>" |
89 |
- " </tr>" |
|
|
90 |
- " [% END %]" |
88 |
- " <tr>" |
91 |
- " <tr>" |
89 |
- " <th colspan=\"2\" class=\"centerednames\">" |
92 |
- " <th colspan=\"2\" class=\"centerednames\">" |
90 |
- " <h2><u>Payment receipt</u></h2>" |
93 |
- " <h2><u>[%- PROCESS credit_type_description credit_type = credit.credit_type -%] receipt</u></h2>" |
91 |
- " </th>" |
94 |
- " </th>" |
92 |
- " </tr>" |
95 |
- " </tr>" |
|
|
96 |
- " [% IF ( credit.credit_type_code == 'PAYMENT' ) %]" |
93 |
- " <tr>" |
97 |
- " <tr>" |
94 |
- " <th colspan=\"2\">" |
98 |
- " <th colspan=\"2\">" |
95 |
- " Received with thanks from [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
99 |
- " Received with thanks from [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
96 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
100 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
97 |
- " </th>" |
101 |
- " </th>" |
98 |
- " </tr>" |
102 |
- " </tr>" |
|
|
103 |
- " [% ELSIF ( credit.credit_type_code == 'CREDIT' ) %]" |
104 |
- " <tr>" |
105 |
- " <th colspan=\"2\">" |
106 |
- " Credit added to account for [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
107 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
108 |
- " </th>" |
109 |
- " </tr>" |
110 |
- " [% ELSIF ( credit.credit_type_code == 'WRITEOFF' ) %]" |
111 |
- " <tr>" |
112 |
- " <th colspan=\"2\">" |
113 |
- " Writeoff added to account for [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
114 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
115 |
- " </th>" |
116 |
- " </tr>" |
117 |
- " [% END %]" |
118 |
- " [% IF credit.amountoutstanding + 0 != 0 %]" |
119 |
- " <tr>" |
120 |
- " <th>Description of credit</th>" |
121 |
- " <th>Amount</th>" |
122 |
- " </tr>" |
123 |
- " <tr>" |
124 |
- " <td>[%- PROCESS credit_type_description credit_type = credit.credit_type -%]</td>" |
125 |
- " <td>[% credit.amount * -1 | $Price %]</td>" |
126 |
- " </tr>" |
127 |
- " <tr>" |
128 |
- " <th style=\"text-align:right;\">Total available:</th>" |
129 |
- " <td>[% credit.amountoutstanding * -1 | $Price %]</td>" |
130 |
- " </tr>" |
131 |
- " [% END %]" |
132 |
- " [% IF credit.amount != credit.amountoutstanding %]" |
99 |
- " <tr>" |
133 |
- " <tr>" |
100 |
- " <th>Description of charges</th>" |
134 |
- " <th>Description of charges</th>" |
101 |
- " <th>Amount</th>" |
135 |
- " <th>Amount</th>" |
102 |
- " </tr>" |
136 |
- " </tr>" |
103 |
- " [% FOREACH offset IN credit.credit_offsets %]" |
137 |
- " [% FOREACH offset IN credit.credit_offsets %]" |
104 |
- " <tr>" |
138 |
- " <tr>" |
105 |
- " <td>[% PROCESS account_type_description account=offset.debit %]</td>" |
139 |
- " <td>[% PROCESS account_type_description account=offset.debit %][% IF ( offset.debit.itemnumber ) %] - [% offset.debit.item.biblio.title %][% END %]</td>" |
106 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
140 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
107 |
- " </tr>" |
141 |
- " </tr>" |
108 |
- " [% END %]" |
142 |
- " [% END %]" |
|
|
143 |
- " [% END %]" |
109 |
- " <tfoot>" |
144 |
- " <tfoot>" |
110 |
- " <tr class=\"highlight\">" |
145 |
- " <tr class=\"highlight\">" |
111 |
- " <td>Total:</td>" |
146 |
- " <td>Total:</td>" |
112 |
- " <td>[% credit.amount * -1 | $Price %]</td>" |
147 |
- " <td>[% credit.amount * -1 | $Price %]</td>" |
113 |
- " </tr>" |
148 |
- " </tr>" |
|
|
149 |
- " [% IF change.defined %]" |
114 |
- " <tr>" |
150 |
- " <tr>" |
115 |
- " <td>Change given: </td>" |
151 |
- " <td>Change given: </td>" |
116 |
- " <td>[% change | $Price %]</td>" |
152 |
- " <td>[% change | $Price %]</td>" |
117 |
- " </tr>" |
153 |
- " </tr>" |
|
|
154 |
- " [% END %]" |
118 |
- " <tr>" |
155 |
- " <tr>" |
119 |
- " <td colspan=\"2\"></td>" |
156 |
- " <td colspan=\"2\"></td>" |
120 |
- " </tr>" |
157 |
- " </tr>" |
Lines 152-162
tables:
Link Here
|
152 |
- " </tr>" |
189 |
- " </tr>" |
153 |
- " [% END %]" |
190 |
- " [% END %]" |
154 |
- " <tr>" |
191 |
- " <tr>" |
155 |
- " <th colspan=\"3\" class=\"centerednames\">" |
|
|
156 |
- " <h3>[% debit.date | $KohaDates %]</h3>" |
157 |
- " </th>" |
158 |
- " </tr>" |
159 |
- " <tr>" |
160 |
- " <td colspan=\"2\" style=\"text-align:right;\">Fee ID: </td>" |
192 |
- " <td colspan=\"2\" style=\"text-align:right;\">Fee ID: </td>" |
161 |
- " <td>[% debit.accountlines_id %]</td>" |
193 |
- " <td>[% debit.accountlines_id %]</td>" |
162 |
- " </tr>" |
194 |
- " </tr>" |
Lines 177-182
tables:
Link Here
|
177 |
- " Card number: [% debit.patron.cardnumber | html %]<br />" |
209 |
- " Card number: [% debit.patron.cardnumber | html %]<br />" |
178 |
- " </th>" |
210 |
- " </th>" |
179 |
- " </tr>" |
211 |
- " </tr>" |
|
|
212 |
- " [% IF debit.amountoutstanding != 0 %]" |
213 |
- " <tr>" |
214 |
- " <th>Date</th>" |
215 |
- " <th>Description of charges</th>" |
216 |
- " <th>Amount</th>" |
217 |
- " </tr>" |
218 |
- " <tr>" |
219 |
- " <td>[% debit.date | $KohaDates %]</td>" |
220 |
- " <td>[% PROCESS account_type_description account=debit %]</td>" |
221 |
- " <td>[% debit.amount | $Price %]</td>" |
222 |
- " </tr>" |
223 |
- " <tr>" |
224 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total owed:</td>" |
225 |
- " <td>[% debit.amount | $Price %]</td>" |
226 |
- " </tr>" |
227 |
- " [% END %]" |
180 |
- " [% IF debit.amount != debit.amountoutstanding %]" |
228 |
- " [% IF debit.amount != debit.amountoutstanding %]" |
181 |
- " <tr>" |
229 |
- " <tr>" |
182 |
- " <th>Date</th>" |
230 |
- " <th>Date</th>" |
Lines 200-210
tables:
Link Here
|
200 |
- " <tr>" |
248 |
- " <tr>" |
201 |
- " <tfoot>" |
249 |
- " <tfoot>" |
202 |
- " <tr>" |
250 |
- " <tr>" |
203 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total owed:</td>" |
251 |
- " <th colspan=\"2\" style=\"text-align:right;\">Total outstanding:</th>" |
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>" |
252 |
- " <td>[% debit.amountoutstanding | $Price %]</td>" |
209 |
- " </tr>" |
253 |
- " </tr>" |
210 |
- " </tfoot>" |
254 |
- " </tfoot>" |
211 |
- |
|
|