@extends('admin.layout.master') @section('content')
Notice
{{-- --}} {{-- --}} @php $i = 1; @endphp @foreach ($notices as $notice) @php $coscenters = explode(',', $notice->cost_center_id); // dd($notice,$coscenters); $arr = []; @endphp {{-- --}} @endforeach
# Head Visibility Cost CenterDepartmentDetails LinkFileStatus Action
{{ $i++ }} {{ $notice->head }} @if ($notice->visibility == 1)

All

@elseif($notice->visibility ==2)

Custom

@endif
@foreach (adminAsignedCostCenterList() as $cost_center) @if(in_array($cost_center->id, ($notice->cost_center_id ? json_decode($notice->cost_center_id):[]) )) {{ $cost_center->name}}, @endif @endforeach {!! Str::limit($notice->details, 200) !!} @if (!empty($notice->link)) Click @else

Not Found

@endif
@if ($notice->attachment) @else

Not Found

@endif
@if ($notice->status == 1)

Active

@elseif($notice->status ==2)

Pending

@endif
@if ($notice->attachment) download @endif
{{ $notices->links("pagination::bootstrap-4") }}
@include('payroll.notice_circular.notice.store') @endsection @section('script') {{-- @include('payroll.hrm_script') --}} {{-- --}} @endsection