Bug 33444: (QA follow-up) Tidy block in automatic_renewals.pl
Resolves: The file is less tidy than before (bad/messy lines before: 94, now: 101) Test plan: Run qa tools. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
7afbba200d
commit
dfe1c36704
1 changed files with 9 additions and 7 deletions
|
@ -181,13 +181,15 @@ while ( my $auto_renew = $auto_renews->next ) {
|
|||
$auto_renew->issue_id, $auto_renew->borrowernumber, $auto_renew->itemnumber, $confirm ? 'will' : 'would';
|
||||
}
|
||||
if ($confirm){
|
||||
my $date_due = AddRenewal({
|
||||
borrowernumber => $auto_renew->borrowernumber,
|
||||
itemnumber => $auto_renew->itemnumber,
|
||||
branch => $auto_renew->branchcode,
|
||||
seen => 0,
|
||||
automatic => 1,
|
||||
});
|
||||
my $date_due = AddRenewal(
|
||||
{
|
||||
borrowernumber => $auto_renew->borrowernumber,
|
||||
itemnumber => $auto_renew->itemnumber,
|
||||
branch => $auto_renew->branchcode,
|
||||
seen => 0,
|
||||
automatic => 1,
|
||||
}
|
||||
);
|
||||
push @item_renewal_ids, $auto_renew->itemnumber;
|
||||
$auto_renew->auto_renew_error(undef)->store;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue