INTERNAL WAYBILLS
@can('stats.user', Auth::user()) {{-- --}} @endcanNo. | REF NO. | LBC | COCOA TYPE | SEASON | TOC | GRADE | PREPARED BY | SUPERVISED BY | REASONS FOR RETURN | VIEW SUMMARY SHEET | @if ($user->can('stats.user') || $user->can('stats.supervisor'))SEND TO AUDIT | @endif|
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->index + 1 }}. | {{ $summary_sheet->ref_no }} | {{ $summary_sheet->lbc->name }} | {{ optional($summary_sheet->cocoa_type)->type_name }} | {{ $summary_sheet->season->name }} | {{ $summary_sheet->port->name }} | {{ $summary_sheet->grade }} | {{ strtoupper(optional(User::find($summary_sheet->wpo_stats_user_id))->username) }} | {{ strtoupper(optional(User::find($summary_sheet->wpo_stats_supervisor_id))->username) }} |
@if ($summary_sheet->audit_logs()->exists())
@foreach ($summary_sheet->audit_logs as $audit_log)
{{ $audit_log->reasons_for_return }} @endforeach @else | @endif | internal_waybills->count() == 0) onclick="event.preventDefault()" disabled @endif>View Sheet | @if ($user->can('stats.user') || $user->can('stats.supervisor'))
|
{{-- expr --}}
@endif