From de5554a45b9f9bc92b47d3306153942d0e8b9e37 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 (cherry picked from commit be4700b0f087e42ea4ab9075fd656b775c63048a) Signed-off-by: Fridolin Somers --- circ/returns.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index 894a5b7269..3fd20c6591 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -420,16 +420,16 @@ if ($barcode) { } 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