@extends('backEnd.master') @section('title') @lang('system_settings.api_access') @endsection @section('mainContent') @php use Illuminate\Support\Facades\Storage; @endphp @lang('system_settings.api_access') @lang('common.dashboard') @lang('system_settings.system_settings') @lang('system_settings.api_access') {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'background-settings-update', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @lang('system_settings.api_access') @lang('system_settings.enable_api_access') @php if(@$value->staff_user->access_status == 0){ $permission_id=483; }else{ $permission_id=484; } @endphp @if(userPermission($permission_id)) api_url == 0? '':'checked'}}> @endif {{ Form::close() }} @csrf {{__('common.FCM Admin SDK JSON File')}} {{ __('common.browse') }} {{__('common.Click Here to Get Firebase Cloud Messaging(FCM) Api Credentials')}} {{__('common.update')}} @php $json = Storage::get(SaasDomain() . '-firebase-service-account.json'); $data = json_decode($json, true); @endphp @if($data) {{__('common.FCM Project ID')}} {{__('common.FCM Client Email')}} {{__('common.FCM Private Key')}} {!! $data['private_key']??'' !!} @endif @endsection @push('script') @endpush
{{__('common.Click Here to Get Firebase Cloud Messaging(FCM) Api Credentials')}}