diff --git a/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl b/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl index 7056b0fbdf..d89d71544c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl @@ -28,7 +28,17 @@ " />

- " /> + " /> + /includes/calendar/cal.gif" id="datelastseen_button" /> +

" maxlength="5" size="5" /> @@ -45,7 +55,18 @@

Use a barcode file

barcode filename :

-

Set datelastseen to :

+

Set datelastseen to : + /includes/calendar/cal.gif" id="setdate_button" /> + +

diff --git a/tools/inventory.pl b/tools/inventory.pl index 94983f6c7f..97aa646edb 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -61,9 +61,9 @@ for my $branch_hash (keys %$branches) { branchname => $branches->{$branch_hash}->{'branchname'}, selected => ($branch_hash eq $branchcode?1:0)}; } -$template->param(branchloop => \@branch_loop,); - -$template->param(minlocation => $minlocation, +$template->param(branchloop => \@branch_loop, + DHTMLcalendar_dateformat => get_date_format_string_for_DHTMLcalendar(), + minlocation => $minlocation, maxlocation => $maxlocation, offset => $offset, pagesize => $pagesize,