- "<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 %]"
- ""
- "<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>"
<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 %]
<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>
+ <td colspan=\"5\">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>
</tr>
</tfoot>
<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 %]
<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>
+ <td colspan=\"5\">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>
</tr>
</tfoot>
<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 %]</td>
<td>
[% PROCESS account_type_description account=credit %]
[%- IF credit.description %], [% credit.description | html %][% 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>
+ <td colspan=\"5\">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>
</tr>
</tfoot>
<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 %]
<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>
+ <td colspan=\"5\">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>
</tr>
</tfoot>
<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 %]
<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>
+ <td colspan=\"5\">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>
</tr>
</tfoot>
<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 %]
<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 %]
<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 %]
<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>
+ <td colspan=\"5\">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>
</tr>
</tfoot>
-[%- BLOCK -%]Manager name[% sep | html %]Patron cardnumber[% sep | html %]Patron name[% sep | html %]Transaction library[% sep | html %]Transaction date[% sep | html %]Transaction type[% sep |html %]Notes[% sep | html %]Amount[% sep | html %]Title[% sep | html %]Barcode[% sep | html %]Item type[%- END -%]
+[%- BLOCK -%]Manager name[% sep | html %]Patron cardnumber[% sep | html %]Patron name[% sep | html %]Transaction library[% sep | html %]Transaction date[% sep | html %]Updated[% sep | html %]Transaction type[% sep |html %]Notes[% sep | html %]Amount[% sep | html %]Title[% sep | html %]Barcode[% sep | html %]Item type[%- END -%]
<table id="table_account_fines">
<thead>
<tr>
- <th>Date</th>
+ <th>Created</th>
+ <th>Updated</th>
<th>Credit number</th>
<th>Account type</th>
<th>Description of charges</th>
[% FOREACH account IN accounts %]
<tr>
- <td data-order="[% account.date | html %]">[% account.date |$KohaDates %]</td>
+ <td data-order="[% account.date | html %]">[% account.date | $KohaDates %]</td>
+ <td data-order="[% account.timestamp | html %]">[% account.timestamp | $KohaDates with_hours = 1 %]</td>
<td>[% account.credit_number | html %]</td>
<td>[% PROCESS account_type_description account=account %]</td>
<td>
[% END %]
<tfoot>
<tr>
- <td colspan="12">Total due</td>
+ <td colspan="13">Total due</td>
[% IF ( totalcredit ) %]
<td class="credit" style="text-align: right;">[% total | $Price %]</td>
<td>
<th>Patron name</th>
<th>Transaction library</th>
<th>Transaction date</th>
+ <th>Updated</th>
<th>Transaction type</th>
<th>Notes</th>
<th>Amount</th>
<td>[% loopresul.bfirstname | html %] [% loopresul.bsurname | html %]</td>
<td>[% loopresul.branchname | html %]</td>
<td>[% loopresul.date | $KohaDates %]</td>
+ <td>[% loopresul.timestamp | $KohaDates with_hours = 1 %]</td>
<td>
[% IF loopresul.credit_type == "ACT" %]
<span>All payments to the library</span>
<tfoot>
<tr>
[% IF transaction_type == "ACT" %]
- <th colspan="7" style="text-align:right;">TOTAL</th>
+ <th colspan="8" style="text-align:right;">TOTAL</th>
<th style="text-align:right;">[% total | $Price %]</th>
<th colspan="3"> </th>
[% END %]
<thead>
<tr>
[% IF ENABLE_OPAC_PAYMENTS %]<th> </th>[% END %]
- <th>Date</th>
+ <th>Created</th>
+ <th>Updated</th>
<th>Type</th>
<th>Description</th>
<th>Amount</th>
</td>
[% END %]
<td data-order="[% ACCOUNT_LINE.date | html %]">[% ACCOUNT_LINE.date | $KohaDates %]</td>
+ <td data-order="[% ACCOUNT_LINE.timestamp | html %]">[% ACCOUNT_LINE.timestamp | $KohaDates with_hours = 1 %]</td>
<td>
[% PROCESS account_type_description account=ACCOUNT_LINE %]
</td>
<tfoot>
<tr>
[%- IF ENABLE_OPAC_PAYMENTS -%]
- [%- SET COLSPAN = 5 -%]
+ [%- SET COLSPAN = 6 -%]
[%- ELSE -%]
- [%- SET COLSPAN = 4 -%]
+ [%- SET COLSPAN = 5 -%]
[%- END -%]
<th class="sum" colspan="[% COLSPAN | html %]">Total due</th>
<td class="sum">[% total | $Price %]</td>
[% IF outstanding_credit.amountoutstanding < 0 %]<tr class="outstanding">[% ELSE %]<tr>[% END%]
[% IF ENABLE_OPAC_PAYMENTS %]<td></td>[% END %]
<td><span title="[% outstanding_credit.date | html %]">[% outstanding_credit.date | $KohaDates %]</span></td>
+ <td><span title="[% outstanding_credit.timestamp | html %]">[% outstanding_credit.date | $KohaDates with_hours = 1 %]</span></td>
<td>
[% PROCESS account_type_description account=outstanding_credit %]
</td>
<thead>
<tr>
[% IF ENABLE_OPAC_PAYMENTS %]<th> </th>[% END %]
- <th>Date</th>
+ <th>Created</th>
+ <th>Updated</th>
<th>Description</th>
<th>Fine amount</th>
<th>Amount outstanding</th>
</td>
[% END %]
<td data-order="[% a.date | html %]">[% a.date | $KohaDates %]</td>
+ <td data-order="[% a.timestamp | html %]">[% a.timestamp | $KohaDates with_hours = 1 %]</td>
<td>
[% PROCESS account_type_description account=a %]
[%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) | html %][% END %]
<tfoot>
<tr>
- <th class="sum" colspan="3">Total due</th>
+ <th class="sum" colspan="4">Total due</th>
<td class="sum">[% account_sum | $Price %]</td>
</tr>
</tfoot>
SELECT round(amount,2) AS amount, description,
bo.surname AS bsurname, bo.firstname AS bfirstname, m.surname AS msurname, m.firstname AS mfirstname,
bo.cardnumber, br.branchname, bo.borrowernumber,
- al.borrowernumber, DATE(al.date) as date, al.credit_type_code, al.debit_type_code, al.amountoutstanding, al.note,
+ al.borrowernumber, DATE(al.date) as date, al.credit_type_code, al.debit_type_code, al.amountoutstanding, al.note, al.timestamp,
bi.title, bi.biblionumber, i.barcode, i.itype
FROM accountlines al
LEFT JOIN borrowers bo ON (al.borrowernumber = bo.borrowernumber)
$row->{bfirstname} . ' ' . $row->{bsurname},
$row->{branchname},
$row->{date},
+ $row->{timestamp},
$row->{credit_type},
$row->{debit_type},
$row->{note},