@extends('admin.layouts.master') @push('css') @endpush @section('page-title') @include('admin.components.page-title',['title' => __($page_title)]) @endsection @section('breadcrumb') @include('admin.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("admin.dashboard"), ] ], 'active' => __("Setup Email")]) @endsection @section('content')
{{ __("Firebase Api") }}
@csrf @method("PUT")
@error("name") {{ $message }} @enderror
@include('admin.components.link.custom',[ 'class' => "btn--base modal-btn w-100", 'href' => "#test-mail", 'text' => "Send Test Code", 'permission' => "admin.setup.email.test.mail.send", ])
@include('admin.components.form.input',[ 'label' => "Api Key*", 'name' => 'api_key', 'type' => 'text', 'value' => old('api_key',$firebase_config->api_key ?? ""), ])
@include('admin.components.form.input',[ 'label' => "Auth Domain*", 'name' => 'auth_domain', 'type' => 'text', 'value' => old('auth_domain',$firebase_config->auth_domain ?? ""), ])
@include('admin.components.form.input',[ 'label' => "Project Id*", 'name' => 'project_id', 'type' => 'text', 'value' => old('project_id',$firebase_config->project_id ?? ""), ])
@include('admin.components.form.input',[ 'label' => "Storage Bucket*", 'name' => 'storage_bucket', 'type' => 'text', 'value' => old('storage_bucket',$firebase_config->storage_bucket ?? ""), ])
@include('admin.components.form.input',[ 'label' => "Messaging SenderId*", 'name' => 'messaging_senderId', 'type' => 'text', 'value' => old('messaging_senderId',$firebase_config->messaging_senderId ?? ""), ])
@include('admin.components.form.input',[ 'label' => "App Id*", 'name' => 'app_id', 'type' => 'text', 'value' => old('app_id',$firebase_config->app_id ?? ""), ])
@include('admin.components.form.input',[ 'label' => "Measurement Id*", 'name' => 'measurement_id', 'type' => 'text', 'value' => old('measurement_id',$firebase_config->measurement_id ?? ""), ])
@include('admin.components.button.form-btn',[ 'class' => "w-100 btn-loading", 'text' => "Update", 'permission' => "admin.setup.firebase.config.update", ])
{{-- Test mail send modal --}} @include('admin.components.modals.send-text-mail') @endsection @push('script') @endpush