From be4700b0f087e42ea4ab9075fd656b775c63048a Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 12 Apr 2024 11:21:07 +0000 Subject: [PATCH] Bug 8461: Tidy Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- circ/returns.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index 8586e87805..6614237e47 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -415,16 +415,16 @@ if ($barcode && $op eq 'cud-checkin') { } elsif ( C4::Context->preference('ShowAllCheckins') and !$messages->{'BadBarcode'} and !$needs_confirm and !$bundle_confirm ) { my $duedate = 0; - if( $issue ){ + if ($issue) { my $date_due_dt = dt_from_string( $issue->date_due, 'sql' ); - $duedate = $date_due_dt->strftime('%Y-%m-%d %H:%M'); + $duedate = $date_due_dt->strftime('%Y-%m-%d %H:%M'); $input{borrowernumber} = $issue->borrowernumber; $riborrowernumber{0} = $borrower->{'borrowernumber'}; } - $input{duedate} = $duedate; - $input{not_returned} = 1; - $returneditems{0} = $barcode; - $riduedate{0} = $duedate; + $input{duedate} = $duedate; + $input{not_returned} = 1; + $returneditems{0} = $barcode; + $riduedate{0} = $duedate; push( @inputloop, \%input ); } $template->param( privacy => $borrower->{privacy} ); -- 2.39.5