json_decode attributes from client in cdm payment

This commit is contained in:
Amir
2023-01-25 08:35:15 +08:00
parent 7fae622dca
commit 5e2bf83a84
@@ -1401,7 +1401,7 @@ class LelongMobileController extends Controller
$add_resit->resit_type = 2;
$add_resit->save();
$selectedSag = $request->sag;
$selectedSag = json_decode($request->sag, true);
foreach ($selectedSag as $index) {
$add_payment = new Payment;
$add_payment->user_id = $request->user_id;