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 831-897
tables:
Link Here
|
831 |
content: |
874 |
content: |
832 |
- "[% PROCESS \"accounts.inc\" %]" |
875 |
- "[% PROCESS \"accounts.inc\" %]" |
833 |
- "<table>" |
876 |
- "<table>" |
834 |
- "[% IF ( LibraryName ) %]" |
877 |
- " [% IF ( LibraryName ) %]" |
835 |
- " <tr>" |
878 |
- " <tr>" |
836 |
- " <th colspan=\"2\" class=\"centerednames\">" |
879 |
- " <th colspan=\"2\" class=\"centerednames\">" |
837 |
- " <h3>[% LibraryName | html %]</h3>" |
880 |
- " <h3>[% LibraryName | html %]</h3>" |
838 |
- " </th>" |
881 |
- " </th>" |
839 |
- " </tr>" |
882 |
- " </tr>" |
840 |
- "[% END %]" |
883 |
- " [% END %]" |
841 |
- " <tr>" |
884 |
- " [% IF credit.library %]" |
842 |
- " <th colspan=\"2\" class=\"centerednames\">" |
885 |
- " <tr>" |
843 |
- " <h2>[% Branches.GetName( payment.branchcode ) | html %]</h2>" |
886 |
- " <th colspan=\"2\" class=\"centerednames\">" |
844 |
- " </th>" |
887 |
- " <h2>[% payment.library.branchname ) | html %]</h2>" |
845 |
- " </tr>" |
888 |
- " </th>" |
846 |
- "<tr>" |
889 |
- " </tr>" |
847 |
- " <th colspan=\"2\" class=\"centerednames\">" |
890 |
- " [% END %]" |
|
|
891 |
- " <tr>" |
892 |
- " <th colspan=\"2\" class=\"centerednames\">" |
848 |
- " <h3>[% payment.date | $KohaDates %]</h3>" |
893 |
- " <h3>[% payment.date | $KohaDates %]</h3>" |
849 |
- "</tr>" |
894 |
- " </th>" |
850 |
- "<tr>" |
895 |
- " </tr>" |
851 |
- " <td>Transaction ID: </td>" |
896 |
- " <tr>" |
852 |
- " <td>[% payment.accountlines_id %]</td>" |
897 |
- " <td>Transaction ID: </td>" |
853 |
- "</tr>" |
898 |
- " <td>[% payment.accountlines_id %]</td>" |
854 |
- "<tr>" |
899 |
- " </tr>" |
855 |
- " <td>Operator ID: </td>" |
900 |
- " <tr>" |
856 |
- " <td>[% payment.manager_id %]</td>" |
901 |
- " <td>Operator ID: </td>" |
857 |
- "</tr>" |
902 |
- " <td>[% payment.manager_id %]</td>" |
858 |
- "<tr>" |
903 |
- " </tr>" |
859 |
- " <td>Payment type: </td>" |
904 |
- " <tr>" |
860 |
- " <td>[% payment.payment_type %]</td>" |
905 |
- " <td>Payment type: </td>" |
861 |
- "</tr>" |
906 |
- " <td>[% payment.payment_type %]</td>" |
862 |
- " <tr></tr>" |
907 |
- " </tr>" |
863 |
- " <tr>" |
908 |
- " <tr>" |
864 |
- " <th colspan=\"2\" class=\"centerednames\">" |
909 |
- " <th colspan=\"2\" class=\"centerednames\">" |
865 |
- " <h2><u>Fee receipt</u></h2>" |
910 |
- " <h2><u>Payment receipt</u></h2>" |
866 |
- " </th>" |
911 |
- " </th>" |
867 |
- " </tr>" |
912 |
- " </tr>" |
868 |
- " <tr></tr>" |
913 |
- " <tr>" |
869 |
- " <tr>" |
914 |
- " <th>Description of charges</th>" |
870 |
- " <th>Description of charges</th>" |
915 |
- " <th>Amount</th>" |
871 |
- " <th>Amount</th>" |
916 |
- " </tr>" |
872 |
- " </tr>" |
917 |
- " [% FOREACH offset IN payment.credit_offsets %]" |
873 |
- "" |
|
|
874 |
- " [% FOREACH offset IN offsets %]" |
875 |
- " <tr>" |
918 |
- " <tr>" |
876 |
- " <td>[% PROCESS account_type_description account=offset.debit %]</td>" |
919 |
- " <td>[% PROCESS account_type_description account=offset.debit %]</td>" |
877 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
920 |
- " <td>[% offset.amount * -1 | $Price %]</td>" |
878 |
- " </tr>" |
921 |
- " </tr>" |
879 |
- " [% END %]" |
922 |
- " [% END %]" |
880 |
- "" |
923 |
- " <tfoot>" |
881 |
- "<tfoot>" |
924 |
- " <tr class=\"highlight\">" |
882 |
- " <tr class=\"highlight\">" |
925 |
- " <td>Total:</td>" |
883 |
- " <td>Total: </td>" |
926 |
- " <td>[% payment.amount * -1 | $Price %]</td>" |
884 |
- " <td>[% payment.amount * -1| $Price %]</td>" |
|
|
885 |
- " </tr>" |
886 |
- " <tr>" |
887 |
- " <td>Tendered: </td>" |
888 |
- " <td>[% collected | $Price %]</td>" |
889 |
- " </tr>" |
890 |
- " <tr>" |
891 |
- " <td>Change: </td>" |
892 |
- " <td>[% change | $Price %]</td>" |
893 |
- " </tr>" |
927 |
- " </tr>" |
894 |
- "</tfoot>" |
928 |
- " <tr>" |
|
|
929 |
- " <td>Tendered: </td>" |
930 |
- " <td>[% tendered | $Price %]</td>" |
931 |
- " </tr>" |
932 |
- " <tr>" |
933 |
- " <td>Change given:</td>" |
934 |
- " <td>[% change | $Price %]</td>" |
935 |
- " </tr>" |
936 |
- " </tfoot>" |
895 |
- "</table>" |
937 |
- "</table>" |
896 |
|
938 |
|
897 |
- module: reserves |
939 |
- module: reserves |
898 |
- |
|
|