MT 1902, Follow-up
This commit is contained in:
parent
26f1b2c533
commit
aaa8d0c80c
2 changed files with 3 additions and 2 deletions
|
@ -95,6 +95,7 @@ function popup(subscriptionid) {
|
|||
<!-- TMPL_IF NAME="opacdisplaycount" --><li><span class="label">Number of issues to display to the public</span>: <!-- TMPL_VAR NAME="opacdisplaycount" --> </li><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="letter" --><li><span class="label">Patron alert with:</span> <!-- TMPL_VAR name="letter" --> </li><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="notes" --><li><span class="label">Notes:</span> <!-- TMPL_VAR name="notes" --></li><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="hasRouting" --><li><span class="label">Routing:</span> yes</li><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="internalnotes" --><li><span class="label">Management Notes:</span> <!-- TMPL_VAR name="internalnotes" --></li><!-- /TMPL_IF -->
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -70,7 +70,7 @@ if ($op eq 'del') {
|
|||
exit;
|
||||
}
|
||||
}
|
||||
my ($routing, @routinglist) = getroutinglist($subscriptionid);
|
||||
my $hasRouting = check_routing($subscriptionid);
|
||||
my ($totalissues,@serialslist) = GetSerials($subscriptionid);
|
||||
$totalissues-- if $totalissues; # the -1 is to have 0 if this is a new subscription (only 1 issue)
|
||||
# the subscription must be deletable if there is NO issues for a reason or another (should not happend, but...)
|
||||
|
@ -101,8 +101,8 @@ if (! $subs->{periodicity}) {
|
|||
}
|
||||
$template->param(
|
||||
subscriptionid => $subscriptionid,
|
||||
routing => $routing,
|
||||
serialslist => \@serialslist,
|
||||
hasRouting => $hasRouting,
|
||||
totalissues => $totalissues,
|
||||
hemisphere => $hemisphere,
|
||||
cannotedit =>(C4::Context->preference('IndependantBranches') &&
|
||||
|
|
Loading…
Reference in a new issue