@extends('layout.app') @section('content')
@php $other_reseller_customer_recharge = $sms_data->where('sms_type','other_reseller_customer_recharge')->first(); $other_reseller_customer_reminder = $sms_data->where('sms_type','other_reseller_customer_reminder')->first(); $other_reseller_customer_expire = $sms_data->where('sms_type','other_reseller_customer_expire')->first(); $other_reseller_customer_new_customer = $sms_data->where('sms_type','other_reseller_customer_create')->first(); $customResellerSmsGatewaySetup_welcome_sms_setting = $sms_data->where('sms_type','own_reseller_customer_create')->first(); $customResellerSmsGatewaySetup_payment_sms_setting = $sms_data->where('sms_type','own_reseller_customer_payment')->first(); $customResellerSmsGatewaySetup_reminder_sms_setting = $sms_data->where('sms_type','own_reseller_customer_reminder')->first(); $balance = checkSmsBalance($reseller->id); // dd($other_reseller_customer_new_customer); @endphp
@csrf
Your sms balance

{!! $balance['balance'] !!}

{{--

{{ $balance['status'] }}

--}}
{{--

Balance : {{$balance['balance']}} {{$balance['status']}}

--}}
@error('gatway')
{{ $message }}
@enderror
@error('sms_balance_url')
{{ $message }}
@enderror
@if ($reseller->reseller_type == 'other')
From Other Reseller Customer Research
Send SMS?
send_sms == 'Yes') checked @endif value="Yes">
send_sms == 'No') checked @endif value="No">
SMS Massage*
Type Text here
From Other Reseller Customer Reminder
Before Day
Send SMS?
send_sms == 'Yes') checked @endif value="Yes">
send_sms == 'No') checked @endif value="No">
SMS Massage*
Type Text here
From Other Reseller Customer Expire
Send SMS?
send_sms == 'Yes') checked @endif value="Yes">
send_sms == 'No') checked @endif value="No">
SMS Massage*
Type Text here
From Other Reseller Customer Create
Send SMS?
send_sms == 'Yes') checked @endif value="Yes">
send_sms == 'No') checked @endif value="No">
SMS Massage*
Type Text here
@else @if (globalPermission('customResellerSmsGatewaySetup'))
From Reseller Customer Create
Send SMS?
send_sms == 'Yes') checked @endif value="Yes">
send_sms == 'No') checked @endif value="No">
SMS Massage*
Type Text here
From Reseller Customer Bill Payment
Send SMS?
send_sms == 'Yes') checked @endif value="Yes">
send_sms == 'No') checked @endif value="No">
SMS Massage*
Type Text here
From Reseller Customer Reminder
Before Day
Send SMS?
send_sms == 'Yes') checked @endif value="Yes">
send_sms == 'No') checked @endif value="No">
SMS Massage*
Type Text here
@endif @endif
@endsection