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

            Bug ID: 37036
           Summary: Cannot access template toolkit branch variable in auto
                    renewal notices
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Notices
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

To recreate:
1. Set up autorenewals bu adjusting circulation rules: 
'Automatic renewal' -> 'Yes'
'No automatic renewal before' -> 5

2. Set 'AutoRenewalNotices' to 'according to patron messaging preferences'.
3. Set an  AUTO_RENEWALS and  AUTO_RENEWALS_DGST notice to include branch info.
I am using this to test: 

Branchcode: [% branch.branchcode %]                
Branch name: [% branch.branchname %]
Branch address: [% branch.branchaddress1 %]
Branch address2: [% IF branch.branchaddress2 %][% branch.branchaddress2 %][%
END %]
Branch city: [% branch.branchcity %], [% branch.branchstate %] [%
branch.branchzip %]

4. Make sure your branch has the proper infro. filled out in Libraries
administration.
5. Find a patron and adjust the messaging preferences so they receive automatic
renewal notices. Also make sure the patron has an email. 
5. Check out some items and make them due with the next 5 days. 
6. Run the automatic_renewal cron job:

perl /kohadevbox/koha/misc/cronjobs/automatic_renewals.pl -c -v


7. Notice no branch information displays.

-- 
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]
https://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