@php $i = 0; @endphp @forelse ($sheetsdata as $sd) @php $i++; @endphp @php $limit = 50; $textLenght = Str::length($sd->jobs->Ext_Description); $textDescription = Str::substr($sd->jobs->Ext_Description, 0, $limit); @endphp @empty @endforelse
# Sheet Vessel / Customer Job Internal Description Due Date Dept Status Last Updated Options
{{ $i }} {{ $sd->sheetcode }} {{ $sd->jobs ? $sd->jobs->Customer_PO : '' }}{{ $sd->job }} {{ $textDescription }} {{ $sd->jobs ? date('m/d/Y', strtotime($sd->jobs->Due_Date)) : '' }} {{ $sd->department->detail }} {{ $sd->status->name }} {{ $sd->user->username }} @can('specsheets.reports') @endcan @if ($this->checkFileSpec(date('Y', strtotime($sd->created_at)), $sd->sheetcode)) @else @endif No data