Lines 129-141
Link Here
|
129 |
<td>[% accountline.accountlines_id | html %]</td> |
129 |
<td>[% accountline.accountlines_id | html %]</td> |
130 |
<td>{ "type": "debit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" }</td> |
130 |
<td>{ "type": "debit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" }</td> |
131 |
<td></td> |
131 |
<td></td> |
132 |
<td>[%- PROCESS account_type_description account=debit.credit -%]</td> |
|
|
133 |
<td> |
132 |
<td> |
|
|
133 |
[%- PROCESS account_type_description account=debit.credit -%] |
134 |
[%- IF debit.credit.description %][% debit.credit.description | html %][%- END -%] |
134 |
[%- IF debit.credit.description %][% debit.credit.description | html %][%- END -%] |
135 |
[%- IF ( debit.credit.itemnumber ) -%] (<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% debit.credit.item.biblionumber | uri %]&itemnumber=[% debit.credit.itemnumber | uri %]">[% debit.credit.item.biblio.title | html %]</a>)[%- END -%] |
135 |
[%- IF ( debit.credit.itemnumber ) -%] (<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% debit.credit.item.biblionumber | uri %]&itemnumber=[% debit.credit.itemnumber | uri %]">[% debit.credit.item.biblio.title | html %]</a>)[%- END -%] |
136 |
</td> |
136 |
</td> |
137 |
<td>[% debit.credit.amount | $Price %]</td> |
137 |
<td>[% debit.credit.amount | $Price %]</td> |
138 |
<td></td> |
138 |
<td></td> |
|
|
139 |
<td> |
140 |
[%- IF debit.credit.credit_type_code == 'REFUND' -%]<a href="/cgi-bin/koha/members/accountline-details.pl?accountlines_id=[% debit.credit.accountlines_id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-list"></i> Details</a>[%- END -%] |
141 |
</td> |
139 |
</tr> |
142 |
</tr> |
140 |
[% END %] |
143 |
[% END %] |
141 |
[% END %] |
144 |
[% END %] |
Lines 218-230
Link Here
|
218 |
<td>[% accountline.accountlines_id | html %]</td> |
221 |
<td>[% accountline.accountlines_id | html %]</td> |
219 |
<td>{ "type": "debit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" }</td> |
222 |
<td>{ "type": "debit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" }</td> |
220 |
<td></td> |
223 |
<td></td> |
221 |
<td>[%- PROCESS account_type_description account=debit.credit -%]</td> |
|
|
222 |
<td> |
224 |
<td> |
|
|
225 |
[%- PROCESS account_type_description account=debit.credit -%] |
223 |
[%- IF debit.credit.description %][% debit.credit.description | html %][%- END -%] |
226 |
[%- IF debit.credit.description %][% debit.credit.description | html %][%- END -%] |
224 |
[%- IF ( debit.credit.itemnumber ) -%] (<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% debit.credit.item.biblionumber | uri %]&itemnumber=[% debit.credit.itemnumber | uri %]">[% debit.credit.item.biblio.title | html %]</a>)[%- END -%] |
227 |
[%- IF ( debit.credit.itemnumber ) -%] (<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% debit.credit.item.biblionumber | uri %]&itemnumber=[% debit.credit.itemnumber | uri %]">[% debit.credit.item.biblio.title | html %]</a>)[%- END -%] |
225 |
</td> |
228 |
</td> |
226 |
<td>[% debit.credit.amount | $Price %]</td> |
229 |
<td>[% debit.credit.amount | $Price %]</td> |
227 |
<td></td> |
230 |
<td></td> |
|
|
231 |
<td> |
232 |
[%- IF debit.credit.credit_type_code == 'REFUND' -%]<a href="/cgi-bin/koha/members/accountline-details.pl?accountlines_id=[% debit.credit.accountlines_id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-list"></i> Details</a>[%- END -%] |
233 |
</td> |
228 |
</tr> |
234 |
</tr> |
229 |
[% END %] |
235 |
[% END %] |
230 |
[% END %] |
236 |
[% END %] |
231 |
- |
|
|