You can get the dates for *current* checkouts, but not any that have been returned, at this time.
[% credit.item.checkout.date_due | html %] should work for example. --- http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) On Wed, Mar 8, 2023 at 11:48 PM Ms. Naveen Ali <nav...@neduet.edu.pk> wrote: > Dear all. Good day to you! > > This is indeed a great forum and I would like to thank you all for the > great and prompt responses, > > A few more things: > > I am sharing the code of default payment slip (Code=ACCOUNT_CREDIT, > Library=All Libraries, Koha Module=Circulation)which I am trying to modify > > ============================ > [% USE Price %] > [% PROCESS 'accounts.inc' %] > <table> > [% IF ( LibraryName ) %] > <tr> > <th colspan="5" class="centerednames"> > <h3>[% LibraryName | html %]</h3> > </th> > </tr> > [% END %] > <tr> > <th colspan="5" class="centerednames"> > <h2><u>Fee receipt</u></h2> > </th> > </tr> > <tr> > <th colspan="5" class="centerednames"> > <h2>[% Branches.GetName( credit.patron.branchcode ) | html %]</h2> > </th> > </tr> > <tr> > <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>Created</th> > <th>Updated</th> > <th>Description of charges</th> > <th>Note</th> > <th>Amount</th> > </tr> > > <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> > <td>[% credit.note | html %]</td> > <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="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> > =========================================================================== > > <h3>[% LibraryName | html %]</h3> > <h2>[% Branches.GetName( credit.patron.branchcode ) | html %]</h2> > > Firstly, The above two lines of code do not generate any result, while the > rest of the code works fine. > > Secondly, the documentation says the substitution and template toolkit can > be used together. But when I tried using substitution <<>>, for library > branch name, that too did not not work > > Thirdly, I have made copies of the slip for two different libraries, on > the understanding that the library is where the transaction is being done > as shown in Accounting Tab of patrons, under Home Library. However I find > that only one of the modified slips is being used in both the libraries. > > Help will be most appreciated. > > With best regards, > > Naveen Ali > > ITM-JE (EAKL) > Inst Representative for > HEC Digital Library Resources. > NEDUET, Karachi. > > > ----- Original Message ----- > From: "Katrin Fischer" <katrin.fischer...@web.de> > To: koha@lists.katipo.co.nz > Sent: Friday, 3 March, 2023 8:05:18 PM > Subject: "[Suspected Spam]" Re: [Koha] Modify Patron Transaction Invoices > and Fee Receipts > > Hi, > > you might also want to have a look at these page in the wiki: > > https://wiki.koha-community.org/wiki/Notices_with_Template_Toolkit > > > https://wiki.koha-community.org/wiki/Notices_and_Slips_Library#Notices_and_slips_using_template_toolkit > > Hope this helps, > > Katrin > > > On 03.03.23 06:47, Ms. Naveen Ali wrote: > > Dear all, > > > > I am using Koha 22.05 and trying to modify the ACCOUNT_CREDIT pint slip. > > > > I would like to add the book information (biblio and lending such as due > date and return date ) of items included in the receipt. > > I am learning about the Template Toolkit used and have found the > following documentation > > https://wiki.koha-community.org/wiki/Template_Toolkit_Plugins > > but it is not complete. > > > > Is the documentation available and accessible? > > > > Could someone point me in the correct direction please. > > > > > > With best regards, > > > > Naveen Ali > > > > ITM-JE (EAKL) > > Inst Representative for > > HEC Digital Library Resources. > > NEDUET, Karachi. > > > > > > ----- Original Message ----- > > > > From: "MASTeR Library" <mamcet.librar...@gmail.com> > > To: "Ms. Naveen Ali" <nav...@neduet.edu.pk> > > Cc: "Caroline Cyr La Rose" <caroline.cyr-la-r...@inlibro.com>, "koha" < > koha@lists.katipo.co.nz> > > Sent: Wednesday, 1 March, 2023 12:52:57 PM > > Subject: Re: [Koha] Modify Patron Transaction Invoices and Fee Receipts > > > > Account payment invoice > > > https://libpowertech.blogspot.com/2022/03/how-to-create-email-receipt-template.html?m=1 > > > > On Wed, 1 Mar 2023, 11:26 am Ms. Naveen Ali, < nav...@neduet.edu.pk > > wrote: > > > > > > Hi Caroline, > > > > Thanks a lot for the information. > > > > I was looking for them in Tools->Notices and slips but was not able to > map the receipts and invoices. > > > > The link you mentioned is great. > > > > I tried using Help on the Koha interface. It took me to this link > > > > > https://koha-community.org/manual//22.05/en/html/tools.html#existing-notices-and-slips > > > > where i did not find ACCOUNT_DEBIT and CREDIT you mentioned. > > > > I believe the manual needs to be updated. > > > > Thanks a lot for your help and kind support. > > > > With best regards, > > > > Naveen Ali > > > > ITM-JE (EAKL) > > Inst Representative for > > HEC Digital Library Resources. > > NEDUET, Karachi. > > > > > > ----- Original Message ----- > > From: "Caroline Cyr La Rose" < caroline.cyr-la-r...@inlibro.com > > > To: koha@lists.katipo.co.nz > > Sent: Tuesday, 28 February, 2023 7:20:50 PM > > Subject: Re: [Koha] Modify Patron Transaction Invoices and Fee Receipts > > > > Hi Naveen, > > > > Transaction invoice = ACCOUNT_DEBIT > > > > Transaction receipt = ACCOUNT_CREDIT > > > > Summary is not customizable... > > ( https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11340 ) > > > > Slip = ISSUESLIP > > > > Quick slip = ISSUEQSLIP > > > > Overdues = OVERDUES_SLIP > > > > Checkin slip = CHECKINSLIP > > > > Can I ask where you checked? I know most of them are described in the > > manual > > > https://koha-community.org/manual/latest/en/html/tools.html#existing-notices-and-slips > > but it might be missing in crucial places where people would check > > first... So I'd like to add it there. > > > > Thanks! > > > > Caroline > > > > > > > On 2023-02-27 23:33, Ms. Naveen Ali wrote: > >> Dear members, > >> > >> I'd like to modify the Patron Transaction Invoices and Fee Receipts. > >> In fact all the print options available on the Patron Screen (Summary, > Slip, Quick Slip, Overdues, Check In Slip) > >> I can't identify them in the Notices and Slips Tool > >> Please provide support. > >> > >> With best regards, > >> > >> Naveen Ali > >> > >> ITM-JE (EAKL) > >> Inst Representative for > >> HEC Digital Library Resources. > >> NEDUET, Karachi. > >> > >> > >> _______________________________________________ > >> > >> Koha mailing listhttp:// koha-community.org > >> Koha@lists.katipo.co.nz > >> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ > > Koha mailing list http://koha-community.org > Koha@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ > > Koha mailing list http://koha-community.org > Koha@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha