* a new org unit setting called lib.my_account_url similar to lib.info_url
* support for both settings in the workstation receipt templates
* adds the get org unit setting helper to the WWW Print Templates
* release notes
simple testing plan:
B = branch to test at
S = system level that branch is child of
C = consortium
register account to B and workstation to B
add settings for both org unit settings at C, S & B
under Administration -> Server Administration -> Print Templates add the following lines to a receipt :
under Administration -> Workstation -> Print Templates add the following lines to a receipt:
{{includes.info_url}}
{{includes.my_account_url}}
Testing the action triggers aren't necessary since no changes were made to action triggers themselves but both org unit settings can be fetched there as well.
Test first by logging out after you add the settings and then in the two interfaces generate previews for both receipts. Now, delete branch level settings, log out, back in and check again. Now system level settings should show.
The patch here provides for the following:
* a new org unit setting called lib.my_account_url similar to lib.info_url
* support for both settings in the workstation receipt templates
* adds the get org unit setting helper to the WWW Print Templates
* release notes
simple testing plan:
B = branch to test at
S = system level that branch is child of
C = consortium
register account to B and workstation to B
add settings for both org unit settings at C, S & B
under Administration -> Server Administration -> Print Templates add the following lines to a receipt :
<div>[% helpers. get_org_ setting( staff_org. id, 'lib.info_url'); %]</div> get_org_ setting( staff_org. id, 'lib.my_ account_ url'); %]</div>
<div>[% helpers.
under Administration -> Workstation -> Print Templates add the following lines to a receipt:
{{includes. info_url} } my_account_ url}}
{{includes.
Testing the action triggers aren't necessary since no changes were made to action triggers themselves but both org unit settings can be fetched there as well.
Test first by logging out after you add the settings and then in the two interfaces generate previews for both receipts. Now, delete branch level settings, log out, back in and check again. Now system level settings should show.
Branch: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commit; h=08bd9e03415fb da1e63f37de09d3 99b933aa0439