Lines 52-106
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 |
- "<table>" |
56 |
- "<table>" |
56 |
- "[% IF ( LibraryName ) %]" |
57 |
- " [% IF ( LibraryName ) %]" |
57 |
- " <tr>" |
58 |
- " <tr>" |
58 |
- " <th colspan=\"4\" class=\"centerednames\">" |
59 |
- " <th colspan=\"2\" class=\"centerednames\">" |
59 |
- " <h3>[% LibraryName | html %]</h3>" |
60 |
- " <h3>[% LibraryName | html %]</h3>" |
60 |
- " </th>" |
61 |
- " </th>" |
61 |
- " </tr>" |
62 |
- " </tr>" |
62 |
- "[% END %]" |
63 |
- " [% END %]" |
63 |
- " <tr>" |
64 |
- " [% IF credit.library %]" |
64 |
- " <th colspan=\"4\" class=\"centerednames\">" |
65 |
- " <tr>" |
65 |
- " <h2><u>Fee receipt</u></h2>" |
66 |
- " <th colspan=\"2\" class=\"centerednames\">" |
66 |
- " </th>" |
67 |
- " <h2>[% credit.library.branchname | html %]</h2>" |
67 |
- " </tr>" |
68 |
- " </th>" |
68 |
- " <tr>" |
69 |
- " </tr>" |
69 |
- " <th colspan=\"4\" class=\"centerednames\">" |
70 |
- " [% END %]" |
70 |
- " <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>" |
71 |
- " <tr>" |
71 |
- " </th>" |
72 |
- " <th colspan=\"2\" class=\"centerednames\">" |
72 |
- " </tr>" |
73 |
- " <h3>[% credit.date | $KohaDates %]</h3>" |
73 |
- " <tr>" |
74 |
- " </th>" |
74 |
- " <th colspan=\"4\">" |
75 |
- " </tr>" |
75 |
- " Received with thanks from [% patron.firstname | html %] [% patron.surname | html %] <br />" |
76 |
- " <tr>" |
76 |
- " Card number: [% patron.cardnumber | html %]<br />" |
77 |
- " <td>Transaction ID: </td>" |
77 |
- " </th>" |
78 |
- " <td>[% credit.accountlines_id %]</td>" |
78 |
- " </tr>" |
79 |
- " </tr>" |
79 |
- " <tr>" |
80 |
- " <tr>" |
80 |
- " <th>Date</th>" |
81 |
- " <td>Operator ID: </td>" |
81 |
- " <th>Description of charges</th>" |
82 |
- " <td>[% credit.manager_id %]</td>" |
82 |
- " <th>Note</th>" |
83 |
- " </tr>" |
83 |
- " <th>Amount</th>" |
84 |
- " <tr>" |
84 |
- " </tr>" |
85 |
- " <td>Payment type: </td>" |
85 |
- "" |
86 |
- " <td>[% credit.payment_type %]</td>" |
86 |
- " [% FOREACH account IN accounts %]" |
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\">" |
95 |
- " Received with thanks from [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />" |
96 |
- " Card number: [% credit.patron.cardnumber | html %]<br />" |
97 |
- " </th>" |
98 |
- " </tr>" |
99 |
- " <tr>" |
100 |
- " <th>Description of charges</th>" |
101 |
- " <th>Amount</th>" |
102 |
- " </tr>" |
103 |
- " [% FOREACH offset IN credit.credit_offsets %]" |
104 |
- " <tr>" |
105 |
- " <td>[% PROCESS account_type_description account=offset.debit %]</td>" |
106 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
107 |
- " </tr>" |
108 |
- " [% END %]" |
109 |
- " <tfoot>" |
87 |
- " <tr class=\"highlight\">" |
110 |
- " <tr class=\"highlight\">" |
88 |
- " <td>[% account.date | $KohaDates %]</td>" |
111 |
- " <td>Total:</td>" |
89 |
- " <td>" |
112 |
- " <td>[% credit.amount * -1 | $Price %]</td>" |
90 |
- " [% PROCESS account_type_description account=account %]" |
|
|
91 |
- " [%- IF account.description %], [% account.description | html %][% END %]" |
92 |
- " </td>" |
93 |
- " <td>[% account.note | html %]</td>" |
94 |
- " [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>" |
95 |
- " </tr>" |
113 |
- " </tr>" |
96 |
- "" |
114 |
- " <tr>" |
97 |
- " [% END %]" |
115 |
- " <td>Change given: </td>" |
98 |
- "<tfoot>" |
116 |
- " <td>[% change | $Price %]</td>" |
99 |
- " <tr>" |
117 |
- " </tr>" |
100 |
- " <td colspan=\"3\">Total outstanding dues as on date: </td>" |
118 |
- " <tr>" |
101 |
- " [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>" |
119 |
- " <td colspan=\"2\"></td>" |
102 |
- " </tr>" |
120 |
- " </tr>" |
103 |
- "</tfoot>" |
121 |
- " <tr>" |
|
|
122 |
- " <td>Account balance as on date:</td>" |
123 |
- " <td>[% credit.patron.account.balance * -1 | $Price %]</td>" |
124 |
- " </tr>" |
125 |
- " </tfoot>" |
104 |
- "</table>" |
126 |
- "</table>" |
105 |
|
127 |
|
106 |
- module: circulation |
128 |
- module: circulation |
Lines 112-167
tables:
Link Here
|
112 |
message_transport_type: print |
134 |
message_transport_type: print |
113 |
lang: default |
135 |
lang: default |
114 |
content: |
136 |
content: |
|
|
137 |
- "[% PROCESS \"accounts.inc\" %]" |
115 |
- "<table>" |
138 |
- "<table>" |
116 |
- " [% IF ( LibraryName ) %]" |
139 |
- " [% IF ( LibraryName ) %]" |
117 |
- " <tr>" |
140 |
- " <tr>" |
118 |
- " <th colspan=\"5\" class=\"centerednames\">" |
141 |
- " <th colspan=\"3\" class=\"centerednames\">" |
119 |
- " <h3>[% LibraryName | html %]</h3>" |
142 |
- " <h3>[% LibraryName | html %]</h3>" |
120 |
- " </th>" |
143 |
- " </th>" |
121 |
- " </tr>" |
144 |
- " </tr>" |
122 |
- " [% END %]" |
145 |
- " [% END %]" |
123 |
- "" |
146 |
- " [% IF debit.library %]" |
124 |
- " <tr>" |
147 |
- " <tr>" |
125 |
- " <th colspan=\"5\" class=\"centerednames\">" |
148 |
- " <th colspan=\"3\" class=\"centerednames\">" |
126 |
- " <h2><u>INVOICE</u></h2>" |
149 |
- " <h2>[% debit.library.branchname | html %]</h2>" |
127 |
- " </th>" |
150 |
- " </th>" |
128 |
- " </tr>" |
151 |
- " </tr>" |
129 |
- " <tr>" |
152 |
- " [% END %]" |
130 |
- " <th colspan=\"5\" class=\"centerednames\">" |
153 |
- " <tr>" |
131 |
- " <h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>" |
154 |
- " <th colspan=\"3\" class=\"centerednames\">" |
132 |
- " </th>" |
155 |
- " <h3>[% debit.date | $KohaDates %]</h3>" |
133 |
- " </tr>" |
156 |
- " </th>" |
134 |
- " <tr>" |
157 |
- " </tr>" |
135 |
- " <th colspan=\"5\" >" |
158 |
- " <tr>" |
136 |
- " Bill to: [% patron.firstname | html %] [% patron.surname | html %] <br />" |
159 |
- " <td colspan=\"2\" style=\"text-align:right;\">Fee ID: </td>" |
137 |
- " Card number: [% patron.cardnumber | html %]<br />" |
160 |
- " <td>[% debit.accountlines_id %]</td>" |
138 |
- " </th>" |
161 |
- " </tr>" |
139 |
- " </tr>" |
162 |
- " [% IF credit.manager_id %]" |
140 |
- " <tr>" |
163 |
- " <tr>" |
141 |
- " <th>Date</th>" |
164 |
- " <td colspan=\"2\" style=\"text-align:right;\">Operator ID: </td>" |
142 |
- " <th>Description of charges</th>" |
165 |
- " <td>[% credit.manager_id %]</td>" |
143 |
- " <th>Note</th>" |
166 |
- " </tr>" |
144 |
- " <th style=\"text-align:right;\">Amount</th>" |
167 |
- " [% END %]" |
145 |
- " <th style=\"text-align:right;\">Amount outstanding</th>" |
168 |
- " <tr>" |
146 |
- " </tr>" |
169 |
- " <th colspan=\"3\" class=\"centerednames\">" |
147 |
- "" |
170 |
- " <h2><u>Invoice</u></h2>" |
148 |
- " [% FOREACH account IN accounts %]" |
171 |
- " </th>" |
|
|
172 |
- " </tr>" |
173 |
- " <tr>" |
174 |
- " <th colspan=\"3\" >" |
175 |
- " Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />" |
176 |
- " Card number: [% debit.patron.cardnumber | html %]<br />" |
177 |
- " </th>" |
178 |
- " </tr>" |
179 |
- " [% IF debit.amount != debit.amountoutstanding %]" |
180 |
- " <tr>" |
181 |
- " <th>Date</th>" |
182 |
- " <th>Description of payments</th>" |
183 |
- " <th>Amount</th>" |
184 |
- " </tr>" |
185 |
- " [% FOREACH offset IN debit.debit_offsets %]" |
186 |
- " <tr>" |
187 |
- " <td>[% offset.credit.date | $KohaDates %]</td>" |
188 |
- " <td>[% PROCESS account_type_description account=offset.credit %]</td>" |
189 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
190 |
- " </tr>" |
191 |
- " [% END %]" |
149 |
- " <tr class=\"highlight\">" |
192 |
- " <tr class=\"highlight\">" |
150 |
- " <td>[% account.date | $KohaDates%]</td>" |
193 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total paid:</td>" |
151 |
- " <td>" |
194 |
- " <td>[% debit.amount - debit.amountoutstanding | $Price %]</td>" |
152 |
- " [% PROCESS account_type_description account=account %]" |
|
|
153 |
- " [%- IF account.description %], [% account.description | html %][% END %]" |
154 |
- " </td>" |
155 |
- " <td>[% account.note | html %]</td>" |
156 |
- " [% IF ( account.amountcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amount | $Price %]</td>" |
157 |
- " [% IF ( account.amountoutstandingcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% account.amountoutstanding | $Price %]</td>" |
158 |
- " </tr>" |
195 |
- " </tr>" |
159 |
- " [% END %]" |
196 |
- " [% END %]" |
160 |
- "" |
197 |
- " </tr>" |
|
|
198 |
- " <td colspan=\"3\"></td>" |
199 |
- " <tr>" |
161 |
- " <tfoot>" |
200 |
- " <tfoot>" |
162 |
- " <tr>" |
201 |
- " <tr>" |
163 |
- " <td colspan=\"4\">Total outstanding dues as on date: </td>" |
202 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total owed:</td>" |
164 |
- " [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>" |
203 |
- " <td>[% debit.amount | $Price %]</td>" |
|
|
204 |
- " </tr>" |
205 |
- " <tr>" |
206 |
- " <td colspan=\"2\" style=\"text-align:right;\">Total outstanding:</td>" |
207 |
- " <td>[% debit.amountoutstanding | $Price %]</td>" |
165 |
- " </tr>" |
208 |
- " </tr>" |
166 |
- " </tfoot>" |
209 |
- " </tfoot>" |
167 |
- "</table>" |
210 |
- "</table>" |
Lines 885-891
tables:
Link Here
|
885 |
- " </tr>" |
928 |
- " </tr>" |
886 |
- " <tr>" |
929 |
- " <tr>" |
887 |
- " <td>Tendered: </td>" |
930 |
- " <td>Tendered: </td>" |
888 |
- " <td>[% collected | $Price %]</td>" |
931 |
- " <td>[% tendered | $Price %]</td>" |
889 |
- " </tr>" |
932 |
- " </tr>" |
890 |
- " <tr>" |
933 |
- " <tr>" |
891 |
- " <td>Change: </td>" |
934 |
- " <td>Change: </td>" |
892 |
- |
|
|