https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21392

            Bug ID: 21392
           Summary: Some tables not available to AUTO_RENEW letter
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

The AUTO_RENEW letter is prepared like so, including data from 4 tables:

 105            my $letter = C4::Letters::GetPreparedLetter(
 106                 module      => 'circulation',
 107                 letter_code => 'AUTO_RENEWALS',
 108                 tables      => {
 109                     borrowers => $patron->borrowernumber,
 110                     issues    => $issue->itemnumber,
 111                     items     => $issue->itemnumber,
 112                     biblio    => $item->biblionumber,
 113                 },
 114             );

http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=misc/cronjobs/automatic_renewals.pl;h=6a170ca20f5f0aabc81f340b2c70b25dd8d4206a;hb=HEAD#l105

But when you go to Tools > Notices & slips to edit the contents of
AUTO_RENEWALS, several more tables are listed as available. This includes: 

- branches
- biblioitems
- opac_news

If you try to include information from these three tables it will be missing
from the final letter.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to