update payment and billing

This commit is contained in:
edmondlang
2022-08-07 17:11:26 +08:00
parent 9e756132ca
commit a2c7eddf7b
15 changed files with 308 additions and 26 deletions
@@ -50,10 +50,10 @@ class SuspendTransactionLogic extends AbstractControllerLogic
$transaction = $this->fetchesTransaction->execute(['id' => $request->route('id')]);
$this->updatesTransactionStatus->execute($transaction, ApprovalStatus::SUSPENDED);
return $this->response([]);
$transaction = $this->updatesTransactionStatus->execute($transaction, ApprovalStatus::SUSPENDED);
return $this->resourceResponse(new TransactionResource($transaction));
}