Fixing up the displaying of create vs edit routing list button
This commit is contained in:
parent
33d7e61f09
commit
5376484c08
|
|
@ -108,6 +108,7 @@ if ($op eq 'del') {
|
|||
|
||||
}
|
||||
my $subs = &getsubscription($subscriptionid);
|
||||
my ($routing, @routinglist) = getroutinglist($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...)
|
||||
|
|
@ -151,6 +152,7 @@ $template->param(
|
|||
totalissues => $totalissues,
|
||||
weekarrayjs => $weekarrayjs,
|
||||
hemisphere => $hemisphere,
|
||||
routing => $routing,
|
||||
);
|
||||
$template->param(
|
||||
"numberpattern$subs->{numberpattern}" => 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue