[MT2390] Fixed addorderiso2709 breadcrumb
Booksellername was not showing.
This commit is contained in:
parent
6247c38600
commit
6961f2e757
2 changed files with 5 additions and 2 deletions
|
@ -38,6 +38,7 @@ use C4::Items;
|
||||||
use C4::Koha qw/GetItemTypes/;
|
use C4::Koha qw/GetItemTypes/;
|
||||||
use C4::Budgets qw/GetBudgets/;
|
use C4::Budgets qw/GetBudgets/;
|
||||||
use C4::Acquisition qw/NewOrderItem/;
|
use C4::Acquisition qw/NewOrderItem/;
|
||||||
|
use C4::Bookseller qw/GetBookSellerFromId/;
|
||||||
|
|
||||||
my $input = new CGI;
|
my $input = new CGI;
|
||||||
my ($template, $loggedinuser, $cookie) = get_template_and_user({
|
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 $cgiparams = $input->Vars;
|
||||||
my $op = $cgiparams->{'op'};
|
my $op = $cgiparams->{'op'};
|
||||||
my $booksellerid = $input->param('booksellerid');
|
my $booksellerid = $input->param('booksellerid');
|
||||||
|
my $bookseller = GetBookSellerFromId($booksellerid);
|
||||||
|
|
||||||
$template->param(scriptname => "/cgi-bin/koha/acqui/addorderiso2709.pl",
|
$template->param(scriptname => "/cgi-bin/koha/acqui/addorderiso2709.pl",
|
||||||
booksellerid => $booksellerid,
|
booksellerid => $booksellerid,
|
||||||
|
booksellername => $bookseller->{name},
|
||||||
);
|
);
|
||||||
my $ordernumber;
|
my $ordernumber;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<body>
|
<body>
|
||||||
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
||||||
<!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
|
<!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
|
||||||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ›<a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="booksellername" --></a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->">Basket #<!-- TMPL_VAR name="basketno" --></a> › Add orders from iso2709 file</div>
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="booksellername" --></a> › <a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->">Basket #<!-- TMPL_VAR name="basketno" --></a> › Add orders from iso2709 file</div>
|
||||||
<div id="doc3" class="yui-t2">
|
<div id="doc3" class="yui-t2">
|
||||||
<div id="bd">
|
<div id="bd">
|
||||||
<div id="yui-main">
|
<div id="yui-main">
|
||||||
|
|
Loading…
Reference in a new issue