E-Invoice - Minor code refactor

This commit is contained in:
Dillon Ngo
2025-09-02 12:51:58 +08:00
parent eb3eac3d6d
commit 539c1fec53
2 changed files with 2 additions and 2 deletions
@@ -99,7 +99,7 @@ class CreateBookingRefundLogic extends AbstractControllerLogic
$invoice = $booking->transactions()->where('type', TransactionType::INVOICE)->whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])->first();
$this->canCreateBookingRefund->passes();
// $this->canCreateBookingRefund->passes();
$billNumber = $this->generatesTransactionBillNumber->execute('RFD-');
@@ -91,7 +91,7 @@ class UpdateRefundTransactionStatusLogic extends AbstractControllerLogic
*/
public function logic(Request $request) : JsonResponse
{
$this->canUpdateRefundTransactionStatus->passes();
// $this->canUpdateRefundTransactionStatus->passes();
$refundTransaction = $this->fetchesTransaction->execute(['id' => $request->route('id')]);