@extends('layouts.admin.app') @section('title',translate('FCM Settings')) @push('css_or_js') @endpush @section('content')

{{translate('messages.firebase_credentials')}}

@csrf @php($key=\App\Models\BusinessSetting::where('key','push_notification_key')->first())
@php($project_id=\App\Models\BusinessSetting::where('key','fcm_project_id')->first())

{{translate('messages.push')}} {{translate('messages.notification')}} {{translate('messages.messages')}}

@csrf
@php($opm=\App\Models\BusinessSetting::where('key','order_pending_message')->first()) @php($data=$opm?json_decode($opm->value,true):null)
{{translate('messages.order')}} {{translate('messages.pending')}} {{translate('messages.message')}}
@php($ocm=\App\Models\BusinessSetting::where('key','order_confirmation_msg')->first()) @php($data=$ocm?json_decode($ocm->value,true):'')
{{translate('messages.order')}} {{translate('messages.confirmation')}} {{translate('messages.message')}}
@php($oprm=\App\Models\BusinessSetting::where('key','order_processing_message')->first()) @php($data=$oprm?json_decode($oprm->value,true):null)
{{translate('messages.order')}} {{translate('messages.processing')}} {{translate('messages.message')}}
@php($dbs=\App\Models\BusinessSetting::where('key','order_handover_message')->first()) @php($data=$dbs?json_decode($dbs->value,true):'')
{{translate('messages.restaurant')}} {{translate('messages.handover')}} {{translate('messages.message')}}
@php($ofdm=\App\Models\BusinessSetting::where('key','out_for_delivery_message')->first()) @php($data=$ofdm?json_decode($ofdm->value,true):'')
{{translate('messages.order')}} {{translate('messages.out_for_delivery')}} {{translate('messages.message')}}
@php($odm=\App\Models\BusinessSetting::where('key','order_delivered_message')->first()) @php($data=$odm?json_decode($odm->value,true):'')
{{translate('messages.order')}} {{translate('messages.delivered')}} {{translate('messages.message')}}
@php($dba=\App\Models\BusinessSetting::where('key','delivery_boy_assign_message')->first()) @php($data=$dba?json_decode($dba->value,true):'')
{{translate('messages.deliveryman')}} {{translate('messages.assign')}} {{translate('messages.message')}}
{{--@php($dbs=\App\Models\BusinessSetting::where('key','delivery_boy_start_message')->first()) @php($data=$dbs?json_decode($dbs->value,true):'')
{{translate('messages.deliveryman')}} {{translate('messages.start')}} {{translate('messages.message')}}
--}} @php($dbc=\App\Models\BusinessSetting::where('key','delivery_boy_delivered_message')->first()) @php($data=$dbc?json_decode($dbc->value,true):'')
{{translate('messages.deliveryman')}} {{translate('messages.delivered')}} {{translate('messages.message')}}
@php($dbc=\App\Models\BusinessSetting::where('key','order_cancled_message')->first()) @php($data=$dbc?json_decode($dbc->value,true):'')
{{translate('messages.order')}} {{translate('messages.canceled')}} {{translate('messages.message')}}
@php($orm=\App\Models\BusinessSetting::where('key','order_refunded_message')->first()) @php($data=$orm?json_decode($orm->value,true):'')
{{translate('messages.order')}} {{translate('messages.refunded')}} {{translate('messages.message')}}
@php($orm=\App\Models\BusinessSetting::where('key','refund_cancel_message')->first()) @php($data=$orm?json_decode($orm->value,true):'')
{{translate('messages.order')}} {{translate('messages.Refund')}} {{translate('messages.cancel')}} {{translate('messages.message')}}
@endsection @push('script_2') @endpush