X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Ftools%2Finventory.tt;h=b682d55913080122bfa1186fb05f439ed8ab7922;hb=9af64aa7d5739c0160fe484958921f1294955fb5;hp=1f668b926a37c6bebcb15b10b579bd0e434e5b70;hpb=98a207ef955effae8d6b26a1c74bddd9a3c9a801;p=koha.git 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 1f668b926a..b682d55913 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -1,30 +1,95 @@ +[% USE KohaDates %] +[% USE Branches %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Inventory [% INCLUDE 'doc-head-close.inc' %] + +[% INCLUDE 'datatables.inc' %] [% INCLUDE 'calendar.inc' %] - + @@ -32,92 +97,91 @@ $(document).ready(function(){ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
- +
-
-
-

Inventory/Stocktaking

- [% IF ( Number ) %]
[% Number %] items modified : datelastseen set to [% date %]
[% END %] - [% IF ( errorfile ) %]
[% errorfile %] can't be opened
[% END %] - [% FOREACH errorloo IN errorloop %] +
+
+

Inventory

+ [% IF (moddatecount) %]
[% moddatecount %] items modified : datelastseen set to [% date | $KohaDates %]
+
Number of potential barcodes read: [% LinesRead %]
[% END %] + [% IF (errorfile) %]
[% errorfile %] can't be opened
[% END %] + [% IF (err_length && err_length==1) %]
There was 1 barcode that was too long.
[% END %] + [% IF (err_length && err_length>1) %]
There were [% err_length %] barcodes that were too long.
[% END %] + [% IF (err_data && err_data==1) %]
There was 1 barcode that contained at least one unprintable character.
[% END %] + [% IF (err_data && err_data>1) %]
There were [% err_data %] barcodes that contained at least one unprintable character.
[% END %] + [% FOREACH error IN errorloop %]
- [% errorloo.barcode %] - [% IF ( errorloo.ERR_BARCODE ) %]: barcode not found[% END %] - [% IF ( errorloo.ERR_WTHDRAWN ) %]: item withdrawn[% END %] - [% IF ( errorloo.ERR_ONLOAN_RET ) %]: item was on loan. It was returned before marked as seen[% END %] - [% IF ( errorloo.ERR_ONLOAN_NOT_RET ) %]: item was on loan. couldn't be returned.[% END %] + [% error.barcode %] + [% IF (error.ERR_BARCODE) %]: barcode not found[% END %] + [% IF (error.ERR_WTHDRAWN) %]: item withdrawn[% END %] + [% IF (error.ERR_ONLOAN_RET) %]: item was on loan. It was returned before marked as seen[% END %] + [% IF (error.ERR_ONLOAN_NOT_RET) %]: item was on loan. couldn't be returned.[% END %]
[% END %] - [% UNLESS ( loop ) %] -
-
+ [% UNLESS op %] +
+
Use a barcode file -
    +
    1. -
    2. -
      [% INCLUDE 'date-format.inc' %]
      +
+
Select items you want to check
  1. - + Home library - Current location + Current library
  2. - + + [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
  3. - [% IF ( authorised_values ) %] + [% IF (authorised_values) %]
  4. - +
  5. [% END %]
  6. - + (items.itemcallnumber)
  7. - [% IF ( statuses ) %] -
-
+ [% IF (statuses) %] + +
- Item statuses: -
- [% FOREACH statuse IN statuses %] - [% IF ( statuse.values ) %] + Item statuses +
+ [% FOREACH status IN statuses %] + [% IF (status.values) %]
- [% statuse.fieldname %] -
    - [% FOREACH value IN statuse.values %] - [% IF ( value.lib ) %]
  • + [% status.fieldname %] +
      + [% FOREACH value IN status.values %] + [% IF (value.lib) %]
    • - +
    • [% END %] [% END %]
    @@ -126,42 +190,41 @@ $(document).ready(function(){ [% END %]
-
+
    [% END %]
  1. - -
    [% INCLUDE 'date-format.inc' %]
    +
  2. -
  3. - [% IF ( ignoreissued ) %] +
  4. + [% IF (ignoreissued) %]
  5. [% ELSE %] [% END %] -
  6. - items
  7. -
  8. - -
  9. - +
  10. - +
  11. +
  12. + + +
+
-
-
- [% END %] - [% IF ( loop ) %] +
+
+ [% END %] + [% IF (op) %]
@@ -169,76 +232,85 @@ $(document).ready(function(){ - - - - + + [% UNLESS compareinv2barcd %] + + [% END %] + +
+ - + [% UNLESS compareinv2barcd %][% END %] + - + + + + + - [% FOREACH loo IN loop %] + + + [% FOREACH result IN loop %] + [% UNLESS compareinv2barcd %] + + [% END %] + + + + [% END %] +
SeenSeenBarcodeLibrary TitleUnseen sinceStatusLostDamagedWithdrawnLast seen Problems
+ + + [% result.barcode | html %] + + [% Branches.GetName( result.homebranch ) %] + [% result.location | html %] [% IF ( result.itemcallnumber ) %][[% result.itemcallnumber | html %]][% ELSE %][% END %] + - +

[% result.title | html %]

[% result.author | html %]

- [% loo.barcode %] + [% result.notforloan | html %] -

[% loo.itemcallnumber %] - [% loo.title |html %]

-

[% loo.author %]

+ [% result.itemlost | html %]
-

[% loo.datelastseen %]

+ [% result.damaged | html %]
- [% IF ( loo.notfoundbarcode ) %] -

Not found among barcodes in barcodes file.

- [% ELSIF ( loo.notfoundkoha ) %] -

Not found in Koha.

- [% ELSE %] -

None

- [% END %] + [% result.withdrawn | html %] +
+ [% result.datelastseen | $KohaDates | html %] + + [% 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 %]
- - -
- [% IF ( offset ) %] -
- - - - - - - - - - -
+
+ [% UNLESS compareinv2barcd %] +
Select all Clear all
+ + + [% END %] - [% IF ( nextoffset ) %] -
- - - - - - - - - -
+
- [% END %] + [% END %]