From c4db0b5b22df279b969d39a351dd8c3c63ab4c8b Mon Sep 17 00:00:00 2001 From: Lyon3 Team Date: Sat, 9 Jun 2012 11:06:49 +0100 Subject: [PATCH] Bug 7652: Add item barcode on top of its editing form Signed-off-by: Adrien Saurat Signed-off-by: Paul Poulain --- cataloguing/additem.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index f970890965..91b4c9930d 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -720,6 +720,7 @@ $template->param( item_header_loop => \@header_value_loop, item => \@loop_data, itemnumber => $itemnumber, + barcode => GetBarcodeFromItemnumber($itemnumber), itemtagfield => $itemtagfield, itemtagsubfield => $itemtagsubfield, op => $nextop, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 296f795481..6692274315 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -231,7 +231,7 @@ $(document).ready(function() { [% IF ( opisadd ) %]

Add item

[% ELSE %] -

Edit item #[% itemnumber %]

+

Edit Item #[% itemnumber %][% IF ( barcode ) %] / Barcode [% barcode %][% END %]

[% END %]
    -- 2.39.5