@php use App\Models\LoginBanner;use App\Models\Setting; @endphp @extends('auth.layouts.master') @section('content') @php $loginBanner = LoginBanner::where('date', verta()->format('m/d'))->first(); if(!$loginBanner){ $loginBanner = LoginBanner::whereNull('date')->inRandomOrder()->first(); } $loginWithPass = Setting::getValue('password_login'); $loginWithOtp = Setting::getValue('otp_login'); @endphp
{{-- Day Insurance Logo--}}
@if($loginWithPass)

برای ورود به سامانه لطفا شماره موبال و کلمه عبور خود را وارد کنید

@elseif($loginWithOtp)

برای ورود به سامانه لطفا شماره موبایل خود را وارد کنید

@else

{{ Setting::getValue('support') }}

@endif
@if($loginWithPass)
@csrf
@error('phone') {{ $message }} @enderror
@error('password') {{ $message }} @enderror
@elseif($loginWithOtp)
@csrf
@error('') {{ $message }} @enderror
@endif
@if(Setting::getValue('news_ticker_show'))
{{ Setting::getValue('news_ticker') }}
@endif @if($loginBanner) @if(!empty($loginBanner->link)) @endif

{{ $loginBanner->name }}

{!! $loginBanner->desc !!} @if(!empty($loginBanner->link)) @endif @endif

@endsection