@vite('resources/css/app.css') @if (auth()->user()->employee_type === 'Accounting') @include('sidebar.users_sidebar') @elseif(auth()->user()->employee_type === 'SalesAdmin' || auth()->user()->employee_type === 'Employee') @include('CMS.sidebar') @else @include('Admin.sidebar') @endif
@if ($errors->any())
{{ $errors->first('error') }}
@endif
@if (auth()->user()->employee_type === 'OperationAdmin' || auth()->user()->employee_type === 'SalesAdmin') History @endif @if (auth()->user()->employee_type === 'Top_Management') @if ($latestRequest && $latestRequest->status === null)
@csrf
@endif @endif @if (auth()->user()->employee_type === 'Accounting') @if ($latestRequest && $latestRequest->status == 'Management Accepted')
@csrf
@endif @endif
Your Company

RWS.RQF.OPR.010

REQUEST FORM

@if ($latestRequest)

No. 000{{ $latestRequest->request_id }}

@else

0000

@endif
@if ($latestRequest)

Requested by: {{ $latestRequest->employee_name }}

@else

No request data available

@endif
@php $particularCount = count($particular); $halfCount = ceil($particularCount / 2); @endphp @foreach ($particular->slice(0, $halfCount) as $key => $p)
contains($p->particulars) ? 'checked' : '' }}>
@endforeach
@foreach ($particular->slice($halfCount) as $key => $p)
contains($p->particulars) ? 'checked' : '' }}>
@endforeach
contains('Others') ? 'checked' : '' }}>
@if ($latestRequest)
Requested by: {{ $latestRequest->employee_name }}
User Signature
@else
Requested by:
@endif
Received by: @if ($latestRequest && $latestRequest->status == 'Accounting Accepted') {{ $userAccounting->employee_name }}
User Signature
@endif
Approved by: @if ($latestRequest && $latestRequest->status !== null) {{ $userAdmin->employee_name }}
User Signature
@endif
Your Company
@if ($user = auth()->user()) @if ( ($user->roleschannel->isNotEmpty() && $user->roleschannel->pluck('permission')->contains('RequestReciever') && $user->employee_type === 'Accounting') || auth()->user()->employee_type === 'OperationAdmin' || auth()->user()->employee_type === 'Employee') @include('Admin.modal') @endif @endif