{!! html()->modelForm($notification_setting_data ?? null, 'POST', route('order-setting-save'))->open() !!} {!! html()->hidden('id', isset($notification_setting_data[0]) ? $notification_setting_data[0]['id'] : null) !!}

{{__('message.notification_settings')}}

{{__('message.type')}} {{__('message.one_signal')}} {{__('message.firebase')}}
{{ __('message.active') }}
{!! html()->hidden('notification_settings[active][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[active][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['active']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['active']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('active') !!} {!! html()->label('', 'active')->class('custom-control-label')->for('active') !!}
{!! html()->hidden('notification_settings[active][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[active][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['active']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['active']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('active1') !!} {!! html()->label('', 'active1') ->class('custom-control-label') ->for('active1') !!}
{{ __('message.cancel') }}
{!! html()->hidden('notification_settings[cancel][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[cancel][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['cancel']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['cancel']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('cancel') !!} {!! html()->label('', 'cancel') ->class('custom-control-label') ->for('cancel') !!}
{!! html()->hidden('notification_settings[cancel][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[cancel][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['cancel']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['cancel']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('cancel1') !!} {!! html()->label('', 'cancel1') ->class('custom-control-label') ->for('cancel1') !!}
{{ __('message.completed') }}
{!! html()->hidden('notification_settings[completed][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[completed][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['completed']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['completed']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('completed') !!} {!! html()->label('', 'completed') ->class('custom-control-label') ->for('completed') !!}
{!! html()->hidden('notification_settings[completed][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[completed][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['completed']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['completed']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('completed1') !!} {!! html()->label('', 'completed1') ->class('custom-control-label') ->for('completed1') !!}
{{ __('message.courier_arrived') }}
{!! html()->hidden('notification_settings[courier_arrived][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_arrived][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['courier_arrived']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['courier_arrived']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_arrived') !!} {!! html()->label('', 'courier_arrived') ->class('custom-control-label') ->for('courier_arrived') !!}
{!! html()->hidden('notification_settings[courier_arrived][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_arrived][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['courier_arrived']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['courier_arrived']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_arrived1') !!} {!! html()->label('', 'courier_arrived1') ->class('custom-control-label') ->for('courier_arrived1') !!}
{{ __('message.courier_assigned') }}
{!! html()->hidden('notification_settings[courier_assigned][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_assigned][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['courier_assigned']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['courier_assigned']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_assigned') !!} {!! html()->label('', 'courier_assigned') ->class('custom-control-label') ->for('courier_assigned') !!}
{!! html()->hidden('notification_settings[courier_assigned][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_assigned][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['courier_assigned']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['courier_assigned']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_assigned1') !!} {!! html()->label('', 'courier_assigned1') ->class('custom-control-label') ->for('courier_assigned1') !!}
{{ __('message.departed_assigned') }}
{!! html()->hidden('notification_settings[departed_assigned][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[departed_assigned][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['departed_assigned']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['departed_assigned']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('departed_assigned') !!} {!! html()->label('', 'departed_assigned') ->class('custom-control-label') ->for('departed_assigned') !!}
{!! html()->hidden('notification_settings[departed_assigned][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[departed_assigned][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['departed_assigned']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['departed_assigned']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('departed_assigned1') !!} {!! html()->label('', 'departed_assigned1') ->class('custom-control-label') ->for('departed_assigned1') !!}
{{ __('message.courier_pickup_up') }}
{!! html()->hidden('notification_settings[courier_pickup_up][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_pickup_up][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['courier_pickup_up']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['courier_pickup_up']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_pickup_up') !!} {!! html()->label('', 'courier_pickup_up') ->class('custom-control-label') ->for('courier_pickup_up') !!}
{!! html()->hidden('notification_settings[courier_pickup_up][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_pickup_up][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['courier_pickup_up']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['courier_pickup_up']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_pickup_up1') !!} {!! html()->label('', 'courier_pickup_up1') ->class('custom-control-label') ->for('courier_pickup_up1') !!}
{{ __('message.courier_transfer') }}
{!! html()->hidden('notification_settings[courier_transfer][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_transfer][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['courier_transfer']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['courier_transfer']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_transfer') !!} {!! html()->label('', 'courier_transfer') ->class('custom-control-label') ->for('courier_transfer') !!}
{!! html()->hidden('notification_settings[courier_transfer][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[courier_transfer][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['courier_transfer']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['courier_transfer']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('courier_transfer1') !!} {!! html()->label('', 'courier_transfer1') ->class('custom-control-label') ->for('courier_transfer1') !!}
{{ __('message.create') }}
{!! html()->hidden('notification_settings[create][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[create][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['create']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['create']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('create') !!} {!! html()->label('', 'create') ->class('custom-control-label') ->for('create') !!}
{!! html()->hidden('notification_settings[create][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[create][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['create']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['create']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('create1') !!} {!! html()->label('', 'create1') ->class('custom-control-label') ->for('create1') !!}
{{ __('message.delayed') }}
{!! html()->hidden('notification_settings[delayed][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[delayed][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['delayed']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['delayed']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('delayed') !!} {!! html()->label('', 'delayed') ->class('custom-control-label') ->for('delayed') !!}
{!! html()->hidden('notification_settings[delayed][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[delayed][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['delayed']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['delayed']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('delayed1') !!} {!! html()->label('', 'delayed1') ->class('custom-control-label') ->for('delayed1') !!}
{{ __('message.failed') }}
{!! html()->hidden('notification_settings[failed][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[failed][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['failed']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['failed']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('failed') !!} {!! html()->label('', 'failed') ->class('custom-control-label') ->for('failed') !!}
{!! html()->hidden('notification_settings[failed][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[failed][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['failed']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['failed']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('failed1') !!} {!! html()->label('', 'failed1') ->class('custom-control-label') ->for('failed1') !!}
{{ __('message.payment_status_message') }}
{!! html()->hidden('notification_settings[payment_status_message][IS_ONESIGNAL_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[payment_status_message][IS_ONESIGNAL_NOTIFICATION]', isset($notification_setting_data['payment_status_message']['IS_ONESIGNAL_NOTIFICATION']) ? $notification_setting_data['payment_status_message']['IS_ONESIGNAL_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('payment_status_message') !!} {!! html()->label('', 'payment_status_message') ->class('custom-control-label') ->for('payment_status_message') !!}
{!! html()->hidden('notification_settings[payment_status_message][IS_FIREBASE_NOTIFICATION]', 0) !!} {!! html()->checkbox('notification_settings[payment_status_message][IS_FIREBASE_NOTIFICATION]', isset($notification_setting_data['payment_status_message']['IS_FIREBASE_NOTIFICATION']) ? $notification_setting_data['payment_status_message']['IS_FIREBASE_NOTIFICATION'] : null, 1) ->class('custom-control-input') ->id('payment_status_message1') !!} {!! html()->label('', 'payment_status_message1') ->class('custom-control-label') ->for('payment_status_message1') !!}

{!! html()->submit(__('message.save'))->class('btn btn-md btn-primary float-md-right') !!}
{!! html()->form()->close() !!}
@section('bottom_script') @endsection