@extends('layouts.view') @section('title',trans('lang.compsettings')) @section('content')

{{trans('lang.compsettings')}}

{{trans('lang.compsettings')}} :

@csrf
@if(!empty($company_setting->logo_path))
{{trans('lang.logo_path')}}:
  • @php $logo_extension = pathinfo($company_setting->logo_path, PATHINFO_EXTENSION); @endphp @if(in_array(strtolower($logo_extension), ['jpg', 'jpeg', 'png'])) @else @endif {{ $company_setting->logo_path }}
@endif
@if(!empty($company_setting->company_policy))
    @foreach(explode(',', $company_setting->company_policy) as $policy)
  • @php $file_extension = pathinfo($policy, PATHINFO_EXTENSION); @endphp @if(in_array(strtolower($file_extension), ['pdf'])) @elseif(in_array(strtolower($file_extension), ['xls', 'xlsx'])) @else @endif {{ $policy }}
    @csrf @method('POST')
  • @endforeach
@endif
@endsection @section('scripts') @endsection