NASER fix tahesab charge gold api from admin
This commit is contained in:
@@ -223,7 +223,7 @@ class TahesabController extends Controller
|
||||
$date = Verta::instance(Carbon::now())->format('Y-m-d');
|
||||
[$year, $month, $day] = explode('-', $date);
|
||||
|
||||
$amount = $data['value'];
|
||||
$amount = abs($data['value']);
|
||||
|
||||
$tahesab = Tahesab::create([
|
||||
"customer_id" => $customer->id,
|
||||
|
||||
Reference in New Issue
Block a user