mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
debug wallet audit
This commit is contained in:
+1
-1
@@ -406,7 +406,7 @@ Route::get('/wallet/audit', function (Request $request) {
|
||||
}
|
||||
$auditBalance = ($topups + $credit) - ($payments + $debit);
|
||||
$diffenrence = round((float) $wallet->amount - (($topups + $credit) - ($payments + $debit)), 2);
|
||||
if(($diffenrence == 0) AND ($diffenrence == -0) AND $wallet->amount > -0.01) continue;
|
||||
if((($diffenrence == 0) || ($diffenrence == -0)) AND $wallet->amount > -0.01) continue;
|
||||
|
||||
$i++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user