From 6961f2e7572d9c9c13c681c03066a70e664c1e8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Andr=C3=A9=20Santoni?= Date: Fri, 8 Jan 2010 11:41:21 +0100 Subject: [PATCH] [MT2390] Fixed addorderiso2709 breadcrumb Booksellername was not showing. --- acqui/addorderiso2709.pl | 3 +++ .../intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tmpl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index 3c05ca0ae7..a02820596d 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -38,6 +38,7 @@ use C4::Items; use C4::Koha qw/GetItemTypes/; use C4::Budgets qw/GetBudgets/; use C4::Acquisition qw/NewOrderItem/; +use C4::Bookseller qw/GetBookSellerFromId/; my $input = new CGI; my ($template, $loggedinuser, $cookie) = get_template_and_user({ @@ -51,9 +52,11 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ my $cgiparams = $input->Vars; my $op = $cgiparams->{'op'}; my $booksellerid = $input->param('booksellerid'); +my $bookseller = GetBookSellerFromId($booksellerid); $template->param(scriptname => "/cgi-bin/koha/acqui/addorderiso2709.pl", booksellerid => $booksellerid, + booksellername => $bookseller->{name}, ); my $ordernumber; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tmpl index e5756a4e5b..35b7d1df9b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tmpl @@ -10,7 +10,7 @@ - +
@@ -93,4 +93,4 @@
- \ No newline at end of file + -- 2.39.5