From 07f663ddf1aba14169eacc5ab1d94e58fb690f51 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 19 Aug 2022 16:51:04 +0800 Subject: [PATCH] wallet audit --- routes/web.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 5f417654..854e22c5 100644 --- a/routes/web.php +++ b/routes/web.php @@ -344,5 +344,6 @@ Route::get('/wallet/audit', function (Request $request) { echo $i.". Marking: ". $wallet->owner->reference ."
Current Balance: ". $wallet->amount ."
Audit Balance: ". (($topups + $credit) - ($payments + $debit)) ."
Difference: ". round((float) $wallet->amount - (($topups + $credit) - ($payments + $debit)), 2) ."


"; } -})->name('segments'); +}); +