all(); $accoun = BankAccount::findOrFail($data['id']); $accoun->sts = $data['sts']; $accoun->save(); if ($accoun->sts == 2) { $customer = Customer::find($accoun->customer_id); if (self::isSmsNotifEnabled('sms_notif_bank_card_customer')) { $this->SendMessage($customer->mobile, 'کارت بانکی شما در ' . $this->Config('name_fa') . ' تایید شد'); } } return response()->json(true); } }