Bug 11179: (follow-up) add comment to item-status.inc
This patch adds a comment to item-status.inc to describe the parameters it can accept. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
78b73c3fff
commit
ec7fff647d
2 changed files with 14 additions and 0 deletions
|
@ -1,5 +1,12 @@
|
|||
[% USE KohaAuthorisedValues %]
|
||||
|
||||
[%#-
|
||||
This include takes two parameters: an item structure
|
||||
and an optional loan (issue) structure. The issue
|
||||
structure is used by course reserves pages, which do
|
||||
not use an API to fetch items that populates item.datedue.
|
||||
-%]
|
||||
|
||||
[% IF ( item.itemlost ) %]
|
||||
[% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
|
||||
[% IF ( av_lib_include ) %]
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
[% USE KohaAuthorisedValues %]
|
||||
|
||||
[%#-
|
||||
This include takes two parameters: an item structure
|
||||
and an optional loan (issue) structure. The issue
|
||||
structure is used by course reserves pages, which do
|
||||
not use an API to fetch items that populates item.datedue.
|
||||
-%]
|
||||
|
||||
[% IF ( item.itemlost ) %]
|
||||
[% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
|
||||
[% IF ( av_lib_include ) %]
|
||||
|
|
Loading…
Reference in a new issue