@extends('layouts.back-end.app') @section('title', \App\CPU\translate('FCM Settings')) @push('css_or_js') @endpush @section('content')

{{\App\CPU\translate('Push_Notification_Setup')}}

@include('admin-views.business-settings.third-party-inline-menu')
{{\App\CPU\translate('Firebase Push Notification Setup')}}
@csrf @php($key=\App\Model\BusinessSetting::where('type','push_notification_key')->first()->value)
@php($project_id=\App\Model\BusinessSetting::where('type','fcm_project_id')->first()->value)
{{\App\CPU\translate('Push Messages')}}
@csrf
@php($opm=\App\Model\BusinessSetting::where('type','order_pending_message')->first()->value) @php($data=json_decode($opm,true))
@php($ocm=\App\Model\BusinessSetting::where('type','order_confirmation_msg')->first()->value) @php($data=json_decode($ocm,true))
@php($oprm=\App\Model\BusinessSetting::where('type','order_processing_message')->first()->value) @php($data=json_decode($oprm,true))
@php($ofdm=\App\Model\BusinessSetting::where('type','out_for_delivery_message')->first()->value) @php($data=json_decode($ofdm,true))
@php($odm=\App\Model\BusinessSetting::where('type','order_delivered_message')->first()->value) @php($data=json_decode($odm,true))
@php($odm=\App\Model\BusinessSetting::where('type','order_returned_message')->first()->value) @php($data=json_decode($odm,true))
@php($odm=\App\Model\BusinessSetting::where('type','order_failed_message')->first()->value) @php($data=json_decode($odm,true))
@php($dba=\App\Model\BusinessSetting::where('type','delivery_boy_assign_message')->first()->value) @php($data=json_decode($dba,true))
@php($dbs=\App\Model\BusinessSetting::where('type','delivery_boy_start_message')->first()->value) @php($data=json_decode($dbs,true))
@php($dbc=\App\Model\BusinessSetting::where('type','delivery_boy_delivered_message')->first()->value) @php($data=json_decode($dbc,true))
@php($dbc=\App\Model\BusinessSetting::where('type','delivery_boy_expected_delivery_date_message')->first()) @if($dbc) @php($dbc = $dbc->value) @php($data=json_decode($dbc,true))
@else
@endif @php($dbc=\App\Model\BusinessSetting::where('type','order_canceled')->first()) @if($dbc) @php($dbc = $dbc->value) @php($data=json_decode($dbc,true))
@else
@endif
@endsection @push('script_2') @endpush