X-Git-Url: http://git.rot13.org/?p=koha.git;a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Ftools%2Finventory.tt;fp=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Ftools%2Finventory.tt;h=3da9df7d8314e19ae7ff6fce0fa18544d0ed9188;hp=1052714e268973da258bb918151dc510b27e823a;hb=f86a16182b859063d21118002a8be936ff692b12;hpb=0313856d9a1a9c0c002da0aead8c8516b51e1c11 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 1052714e26..3da9df7d83 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -1,3 +1,4 @@ +[% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Inventory [% INCLUDE 'doc-head-close.inc' %] @@ -12,12 +13,16 @@ $(document).ready(function(){ inventorydt = $('#inventoryt').dataTable($.extend(true, {}, dataTablesDefaults, { 'sPaginationType': 'full_numbers', - "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] } ] + [% IF compareinv2barcd %] + "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 1 ] } ] + [% ELSE %] + "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] } ] + [% END %] } )); - $("#continuewithoutmarkingbutton").click(function(){ - inventorydt.fnPageChange( 'next' ); + $("#continuewithoutmarkingbutton").click(function(){ + inventorydt.fnPageChange( 'next' ); return false; }); @@ -47,7 +52,6 @@ $(document).ready(function(){ }); - $(".checkall").click(function(){ $(".checkboxed").checkCheckboxes(); return false; @@ -56,16 +60,6 @@ $(document).ready(function(){ $(".checkboxed").unCheckCheckboxes(); return false; }); -[% IF ( offset ) %]$("#markseen").before(" ");[% END %] -[% IF ( nextoffset ) %]$("#markseen").after(" ");[% END %] - $("#markback").click(function(){ - $(".checkboxed").find("input").filter("[name=offset]").attr("value","[% prevoffset %]"); - return true; - }); - $("#marknext").click(function(){ - $(".checkboxed").find("input").filter("[name=offset]").attr("value","[% nextoffset %]"); - return true; - }); }); //]]> @@ -82,7 +76,7 @@ $(document).ready(function(){

Inventory/Stocktaking

- [% IF (moddatecount) %]
[% moddatecount %] items modified : datelastseen set to [% date %]
[% END %] + [% IF (moddatecount) %]
[% moddatecount %] items modified : datelastseen set to [% date | $KohaDates %]
[% END %] [% IF (errorfile) %]
[% errorfile %] can't be opened
[% END %] [% FOREACH error IN errorloop %]
@@ -100,7 +94,7 @@ $(document).ready(function(){ Use a barcode file
  1. -
  2. +
@@ -109,10 +103,10 @@ $(document).ready(function(){
  1. Home library - Current location + Current library
  2. +
  3. [% IF (ignoreissued) %] @@ -204,15 +198,17 @@ $(document).ready(function(){ - - - + + [% UNLESS compareinv2barcd %] + + [% END %] + - + [% UNLESS compareinv2barcd %][% END %] - + @@ -224,9 +220,11 @@ $(document).ready(function(){ [% FOREACH result IN loop %] - + [% UNLESS compareinv2barcd %] + + [% END %] @@ -246,21 +244,30 @@ $(document).ready(function(){ [% result.damaged | html %] [% END %]
    SeenSeenBarcodeLocationLibrary Title Status Lost
    - - + + [% result.barcode | html %] - [% result.datelastseen | html %] + [% result.datelastseen | html | $KohaDates%] - [% IF (result.wrongplace) %]

    Item should not have been scanned

    [% ELSIF (result.missingitem) %]

    Item missing

    [% ELSIF (result.changestatus) %]

    Change item status

    [% END %] + [% IF result.problem == 'wrongplace' %] +

    Item should not have been scanned

    + [% ELSIF result.problem == 'missingitem' %] +

    Item missing

    + [% ELSIF result.problem == 'changestatus' %] +

    Change item status

    + [% ELSIF result.problem == 'not_scanned' %] +

    Item should have been scanned

    + [% END %]
    -

    - - - - + [% UNLESS compareinv2barcd %] + + + + + [% END %]