Lines 75-87
Link Here
|
75 |
[% END %] |
75 |
[% END %] |
76 |
</td> |
76 |
</td> |
77 |
<td> |
77 |
<td> |
78 |
[% IF ( s.ASKED ) %]Requested[% END %] |
78 |
[% SWITCH s.STATUS %] |
79 |
[% IF ( s.CHECKED ) %]Checked by the library[% END %] |
79 |
[% CASE "ASKED" %]<span>Requested</span> |
80 |
[% IF ( s.ACCEPTED ) %]Accepted by the library[% END %] |
80 |
[% CASE "CHECKED" %]<span>Checked by the library</span> |
81 |
[% IF ( s.ORDERED ) %]Ordered by the library[% END %] |
81 |
[% CASE "ACCEPTED" %]<span>Accepted by the library</span> |
82 |
[% IF ( s.REJECTED ) %]Suggestion declined [% END %] |
82 |
[% CASE "ORDERED" %]<span>Ordered by the library</span> |
83 |
[% IF ( s.AVAILABLE ) %]Available in the library[% END %] |
83 |
[% CASE "REJECTED" %]<span>Suggestion declined<span> |
84 |
[% IF ( s.reason ) %]([% s.reason %])[% END %] |
84 |
[% CASE "AVAILABLE" %]<span>Available in the library</span> |
|
|
85 |
[% CASE %] |
86 |
[% SET status_description = AuthorisedValues.GetByCode('SUGGEST_STATUS', s.STATUS) %] |
87 |
[% IF status_description %] |
88 |
[% status_description %] |
89 |
[% ELSE %] |
90 |
<span>Unknown</span> |
91 |
[% END %] |
92 |
[% END %] |
93 |
[% IF s.reason %]([% s.reason %])[% END %] |
85 |
</td> |
94 |
</td> |
86 |
</tr> |
95 |
</tr> |
87 |
[% END %] |
96 |
[% END %] |