- "<table>"
- "[% IF ( LibraryName ) %]"
- " <tr>"
- - " <th colspan=\"4\" class=\"centerednames\">"
+ - " <th colspan=\"5\" class=\"centerednames\">"
- " <h3>[% LibraryName | html %]</h3>"
- " </th>"
- " </tr>"
- "[% END %]"
- " <tr>"
- - " <th colspan=\"4\" class=\"centerednames\">"
+ - " <th colspan=\"5\" class=\"centerednames\">"
- " <h2><u>Fee receipt</u></h2>"
- " </th>"
- " </tr>"
- " <tr>"
- - " <th colspan=\"4\" class=\"centerednames\">"
+ - " <th colspan=\"5\" class=\"centerednames\">"
- " <h2>[% Branches.GetName( credit.patron.branchcode ) | html %]</h2>"
- " </th>"
- " </tr>"
- " <tr>"
- - " <th colspan=\"4\">"
+ - " <th colspan=\"5\">"
- " Received with thanks from [% credit.patron.firstname | html %] [% credit.patron.surname | html %] <br />"
- " Card number: [% credit.patron.cardnumber | html %]<br />"
- " </th>"
- " </tr>"
- " <tr>"
- - " <th>Date</th>"
+ - " <th>Created</th>"
+ - " <th>Updated</th>"
- " <th>Description of charges</th>"
- " <th>Note</th>"
- " <th>Amount</th>"
- ""
- " <tr class=\"highlight\">"
- " <td>[% credit.date | $KohaDates %]</td>"
+ - " <td>[% credit.timestamp | $KohaDates with_hours = 1 %]</td>"
- " <td>"
- " [% PROCESS account_type_description account=credit %]"
- " [%- IF credit.description %], [% credit.description | html %][% END %]"
- " <td class=\"credit\">[% credit.amount | $Price %]</td>"
- " </tr>"
- ""
+ - "[% IF ( tendered ) %]"
+ - " <tr>"
+ - " <td colspan=\"3\">Amount tendered: </td>"
+ - " <td>[% tendered | $Price %]</td>"
+ - " </tr>"
+ - " <tr>"
+ - " <td colspan=\"3\">Change given: </td>"
+ - " <td>[% change | $Price %]</td>"
+ - " </tr>"
+ - "[% END %]"
+ - ""
- "<tfoot>"
- " <tr>"
- - " <td colspan=\"3\">Total outstanding dues as on date: </td>"
+ - " <td colspan=\"4\">Total outstanding dues as on date: </td>"
- " [% IF ( credit.patron.account.balance >= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% credit.patron.account.balance | $Price %]</td>"
- " </tr>"
- "</tfoot>"
- "<table>"
- " [% IF ( LibraryName ) %]"
- " <tr>"
- - " <th colspan=\"5\" class=\"centerednames\">"
+ - " <th colspan=\"6\" class=\"centerednames\">"
- " <h3>[% LibraryName | html %]</h3>"
- " </th>"
- " </tr>"
- " [% END %]"
- ""
- " <tr>"
- - " <th colspan=\"5\" class=\"centerednames\">"
+ - " <th colspan=\"6\" class=\"centerednames\">"
- " <h2><u>INVOICE</u></h2>"
- " </th>"
- " </tr>"
- " <tr>"
- - " <th colspan=\"5\" class=\"centerednames\">"
+ - " <th colspan=\"6\" class=\"centerednames\">"
- " <h2>[% Branches.GetName( debit.patron.branchcode ) | html %]</h2>"
- " </th>"
- " </tr>"
- " <tr>"
- - " <th colspan=\"5\" >"
+ - " <th colspan=\"6\" >"
- " Bill to: [% debit.patron.firstname | html %] [% debit.patron.surname | html %] <br />"
- " Card number: [% debit.patron.cardnumber | html %]<br />"
- " </th>"
- " </tr>"
- " <tr>"
- - " <th>Date</th>"
+ - " <th>Created</th>"
+ - " <th>Updated</th>"
- " <th>Description of charges</th>"
- " <th>Note</th>"
- " <th style=\"text-align:right;\">Amount</th>"
- ""
- " <tr class=\"highlight\">"
- " <td>[% debit.date | $KohaDates%]</td>"
+ - " <td>[% debit.timestamp | $KohaDates with_hours = 1 %]</td>"
- " <td>"
- " [% PROCESS account_type_description account=debit %]"
- " [%- IF debit.description %], [% debit.description | html %][% END %]"
- ""
- " <tfoot>"
- " <tr>"
- - " <td colspan=\"4\">Total outstanding dues as on date: </td>"
- - " [% IF ( debit.patron.account.balance <= 0 ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% debit.patron.account.balance | $Price %]</td>"
+ - " <td colspan=\"5\">Total outstanding dues as on date: </td>"
+ - " [% IF ( totalcredit ) %]<td class=\"credit\">[% ELSE %]<td class=\"debit\">[% END %][% total | $Price %]</td>"
- " </tr>"
- " </tfoot>"
- "</table>"
- "Pages: <<article_requests.pages>>"
- "Chapters: <<article_requests.chapters>>"
- "Notes: <<article_requests.patron_notes>>"
+ - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
- ""
- "Your library"
- "Pages: <<article_requests.pages>>"
- "Chapters: <<article_requests.chapters>>"
- "Notes: <<article_requests.patron_notes>>"
+ - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
- ""
- - "You may pick your article up at <<branches.branchname>>."
+ - "[% IF article_request.format == 'PHOTOCOPY' %]You may pick up your article at [% branch.branchname %].[% ELSIF article_request.format == 'SCAN' %]You can download the scanned materials via the following url(s): [% article_request.urls %].[% END %]"
- ""
- "Thank you!"
- "Pages: <<article_requests.pages>>"
- "Chapters: <<article_requests.chapters>>"
- "Notes: <<article_requests.patron_notes>>"
- - ""
+ - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
- ""
- "Thank you!"
- "Pages: <<article_requests.pages>>"
- "Chapters: <<article_requests.chapters>>"
- "Notes: <<article_requests.patron_notes>>"
+ - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
- ""
- "Thank you!"
- "Pages: <<article_requests.pages>>"
- "Chapters: <<article_requests.chapters>>"
- "Notes: <<article_requests.patron_notes>>"
+ - "Format: [% IF article_request.format == 'PHOTOCOPY' %]Copy[% ELSIF article_request.format == 'SCAN' %]Scan[% END %]"
- ""
- module: circulation