From 25c74ac718fef33e70896d5d1d121fc9cca43a41 Mon Sep 17 00:00:00 2001 From: Afiq Hamzah Date: Thu, 18 Jul 2024 14:15:19 +0800 Subject: [PATCH] Add command to update transaction in arrahn master table, edit updateUnsuccess command to conform to psr-4 --- .../Commands/UpdateTransactionMaster.php | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 app/Console/Commands/UpdateTransactionMaster.php diff --git a/app/Console/Commands/UpdateTransactionMaster.php b/app/Console/Commands/UpdateTransactionMaster.php new file mode 100644 index 0000000..2a6a4c7 --- /dev/null +++ b/app/Console/Commands/UpdateTransactionMaster.php @@ -0,0 +1,50 @@ +get('/api/transaction/online/update')->json(); + + if($updateOnline == 'successful'){ + return 0; + }else{ + Log::error('Update transaction master failed'); + } + } +}