diff --git a/app/Console/Commands/DeleteOrderCommand.php b/app/Console/Commands/DeleteOrderCommand.php index 6f048ce3..849a0106 100644 --- a/app/Console/Commands/DeleteOrderCommand.php +++ b/app/Console/Commands/DeleteOrderCommand.php @@ -54,10 +54,6 @@ class DeleteOrderCommand extends Command if (!$booking) { $this->logOutput('Booking not found: ' . $reference); } else { - $booking->status = ApprovalStatus::APPROVED; - $booking->save(); - // $this->logOutput('Booking deleted: ' . $reference); - $payment = $booking->transactions() ->payments()->whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED]) ->first();