<table>
<tr>
<th>Name</th>
- <th>Location</th>
<th>Add</th>
</tr>
<!-- TMPL_LOOP NAME="memberloop" -->
<tr><td><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td>
- <td><!-- TMPL_VAR NAME="streetaddress" --></td>
<td><a onclick="add_member(<!-- TMPL_VAR
NAME="subscriptionid" -->,<!-- TMPL_VAR NAME="borrowernumber" -->); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&op=add">Add</a></td></tr>
<!-- /TMPL_LOOP -->
<tr><td colspan="3"><h3><!-- TMPL_VAR NAME="libraryname" --></h3></td></tr>
<tr><td colspan="3"><b>Title:</b> <!-- TMPL_VAR NAME="title" escape="html" --><br />
<!-- TMPL_VAR NAME="issue" --></td></tr>
-<tr><td><b>Name/Location</b></td>
+<tr><td><b>Name</b></td>
<td><b>Date Due</b></td></tr>
<!-- TMPL_LOOP NAME="memberloop" -->
- <tr><td><b><!-- TMPL_VAR NAME="name" --></b> <!-- TMPL_VAR NAME="location" --></td>
+ <tr><td><!-- TMPL_VAR NAME="name" --></td>
<td> </td></tr>
<!-- /TMPL_LOOP -->
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr><td style="padding-top: 5px;"><b>List Member:</b></td>
<td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
- <tr><th>Name</th>
- <th>Location</th></tr>
+ <tr><th>Name</th></tr>
<!-- TMPL_LOOP NAME="memberloop" -->
- <tr><td><!-- TMPL_VAR NAME="name" --></td>
- <td><!-- TMPL_VAR NAME="location" --></td></tr>
+ <tr><td><!-- TMPL_VAR NAME="name" --></td></tr>
<!-- /TMPL_LOOP -->
</table></td></tr>
<tr><td><b>Notes:</b></td>
<tr><td style="padding-top:5px;"><b>List Member:</b></td>
<td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
<tr><th>Name</th>
- <th>Location</th>
<th>Rank</th>
<th>Delete</th></tr>
<!-- TMPL_LOOP NAME="memberloop" -->
<tr><td><!-- TMPL_VAR NAME="name" --></td>
- <td><!-- TMPL_VAR NAME="location" --></td>
<td><!-- TMPL_VAR NAME="routingbox" --></td>
<td><a href="/cgi-bin/koha/serials/routing.pl?routingid=<!-- TMPL_VAR NAME="routingid" -->&subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&op=delete">Delete</a></td></tr>
<!-- /TMPL_LOOP -->
<!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
</div>
</div>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
use C4::Items;
use C4::Serials;
use URI::Escape;
+use C4::Branch;
my $query = new CGI;
my $subscriptionid = $query->param('subscriptionid');
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblio);
my @itemresults = GetItemsInfo($subs->{'biblionumber'}, 'intra');
my $branch = $itemresults[0]->{'holdingbranch'};
+ my $branchname = GetBranchName($branch);
my $const = 'o';
my $notes;
my $title = $subs->{'bibliotitle'};
flagsrequired => {serials => 1},
debug => 1,
});
- $template->param("libraryname"=>C4::Context->preference("LibraryName"));
+ $template->param("libraryname"=>$branchname);
} else {
($template, $loggedinuser, $cookie)
= get_template_and_user({template_name => "serials/routing-preview.tmpl",