X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fcirc%2Freserveratios.tt;h=53081d2ab2654e335b5fd1d6b0f8e2af849da883;hb=e08629b68b40ee142968a4b589da15653c7c8e8e;hp=67f4226e342f2d3f08ddd6d8a64be3320913cc45;hpb=388f69e5c9f1ca0e7eab38f26afd93821d4287ac;p=srvgit diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt index 67f4226e34..53081d2ab2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt @@ -1,52 +1,51 @@ +[% USE raw %] +[% USE Asset %] [% USE KohaDates %] +[% USE AuthorisedValues %] +[% USE Branches %] +[% USE ItemTypes %] +[% USE TablesSettings %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Circulation › Hold ratios +Hold ratios › Circulation › Koha [% INCLUDE 'doc-head-close.inc' %] -[% INCLUDE 'calendar.inc' %] - -[% INCLUDE 'datatables.inc' %] - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] - + + +
+
+
+
-
-
-
-

Hold ratios to calculate items needed

Calculated on [% todaysdate | $KohaDates %]. From [% from | $KohaDates %] to [% to | $KohaDates %]

-

These items have a hold ratio ≥ [% ratio %].

-
[% sql %]
+

These items have a hold ratio ≥ [% ratio | html %].

+
[% sql | html %]
[% IF ( reserveloop ) %] @@ -55,66 +54,122 @@ - + - + [% FOREACH reserveloo IN reserveloop %] - - - - + + + + + + + + + - - - - - - [% END %]
Holds Items Hold ratioTitleTitle Home libraries Holding libraries Location ItypeCall numbersCall numbers Items needed

[% reserveloo.reservecount %]

[% reserveloo.itemcount %]

[% reserveloo.thisratio %]

[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title |html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %][% IF ( reserveloo.author ) %] by [% reserveloo.author %][% END %] +

[% reserveloo.reservecount | html %]

[% reserveloo.itemcount | html %]

[% reserveloo.thisratio | html %] + [% INCLUDE 'biblio-title.inc' biblio=reserveloo link = 1 %][% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %] + +
    + [% FOREACH homebranch IN reserveloo.homebranch_list %] +
  • [% Branches.GetName ( homebranch ) | html %]
  • + [% END %] +
+
+
    + [% FOREACH holdingbranch IN reserveloo.holdingbranch_list %] +
  • [% Branches.GetName ( holdingbranch ) | html %]
  • + [% END %] +
+
+
    + [% FOREACH location IN reserveloo.location %] +
  • [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => location ) | html %]
  • + [% END %] +
+
+
    + [% FOREACH itype IN reserveloo.itype %] +
  • [% ItemTypes.GetDescription( itype ) | html %]
  • + [% END %] +
+
+
    + [% FOREACH listcall IN reserveloo.listcall %] +
  • [% listcall | html %]
  • + [% END %] +
+
+

+ [% IF ( reserveloo.thisratio_atleast1 ) %] + [% IF ( CAN_user_acquisition && basketno && booksellerid ) %] + [% reserveloo.copies_to_buy | html %] to order + [% ELSE %] + [% reserveloo.copies_to_buy | html %] to order + [% END %] + [% IF ( reserveloo.pendingorders ) %]
[% reserveloo.pendingorders | html %] pending[% END %] + [% ELSE %] + 0 to order + [% END %] +

[% reserveloo.homebranch_list %]

[% reserveloo.holdingbranch_list %]

[% reserveloo.location %]

[% reserveloo.itype %]

[% reserveloo.listcall %]

[% IF ( reserveloo.thisratio_atleast1 ) %]

[% IF ( CAN_user_acquisition && basketno && booksellerid ) %][% END %][% reserveloo.ratiocalc %] to order[% IF ( CAN_user_acquisition && basketno && booksellerid ) %][% END %] - [% IF ( reserveloo.pendingorders ) %]
[% reserveloo.pendingorders %] pending[% END %]

[% END %]
[% ELSE %] - No items found. + No items found. [% END %] -
-
-
+ +
+
+ +
+
-
+ +
+ + +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'calendar.inc' %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] + +[% END %] + [% INCLUDE 'intranet-bottom.inc' %]