@@ -, +, @@ --- .../prog/en/includes/transfer_reasons.inc | 15 +++++++++++++++ .../prog/en/modules/circ/transfers_to_send.tt | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/transfer_reasons.inc --- a/koha-tmpl/intranet-tmpl/prog/en/includes/transfer_reasons.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/transfer_reasons.inc @@ -0,0 +1,15 @@ +[%- BLOCK transfer_reason -%] + [%- SWITCH transfer.reason -%] + [%- CASE 'Manual' -%]Manual + [%- CASE 'StockrotationAdvance' -%]Stock rotation advance + [%- CASE 'StockrotationRepatriation' -%]Stock rotation repatriation + [%- CASE 'ReturnToHome' -%]Automatic return to home + [%- CASE 'ReturnToHolding' -%]Automatic return to holding + [%- CASE 'RotatingCollection' -%]Rotating collection + [%- CASE 'Reserve' -%]Hold + [%- CASE 'LostReserve' -%]Hold lost + [%- CASE 'CancelReserve' -%]Hold cancelled + [%- CASE -%][% transfer.reason | html %] + [%- END -%] +[%- END -%] + --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt @@ -4,6 +4,7 @@ [% USE KohaDates %] [% USE Branches %] [% SET footerjs = 1 %] +[% PROCESS 'transfer_reasons.inc' %] [% INCLUDE 'doc-head-open.inc' %] Koha › Circulation › Transfers to send [% INCLUDE 'doc-head-close.inc' %] @@ -57,7 +58,7 @@ [% IF ( transfer.item.effective_itemtype ) %] ([% transfer.item.effective_itemtype | html %])[% END %]
Barcode: [% transfer.item.barcode | html %] -

[% transfer.reason | html %]

+

[% PROCESS transfer_reason transfer=transfer %]

[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]On shelf[% END %] [% Branches.GetName( transfer.item.homebranch ) | html %] [% transfer.item.itemcallnumber | html %] --