@php $transactionsList = $transactions ?? []; @endphp @extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
List {{ $title_menu ?? 'Approval Outsource' }}
{{-- Filter Status Dropdown --}}

@include('components.alert')
@if (!empty($transactionsList) && count($transactionsList) > 0) @foreach ($transactionsList as $t) @endforeach @endif
No Action Status Tgl Uji Material Deskripsi Material Warna Customer Supplier Qty Tested By Send To Catatan
{{ $loop->iteration }} @if ($t->status === 'pending') Check @elseif ($t->status === 'approved')
Detail
@else Detail @endif
@if ($t->status === 'draft') Draft @elseif ($t->status === 'pending') Pending @elseif ($t->status === 'approved') Approved @elseif ($t->status === 'rejected') note_reject)) data-bs-toggle="tooltip" data-bs-placement="top" title="Revisi: {{ $t->note_reject }}" style="cursor: pointer;" @endif> Rejected @endif {{ date('d/m/Y', strtotime($t->test_date)) }} {{ $t->material_code }} {{ $t->material_desc ?: ($t->material_type ?: '-') }} {{ $t->warna ?: '-' }} {{ mb_strtoupper($t->customer_name ?: 'General / Outsource', 'UTF-8') }} {{ $t->supplier_name ?: '-' }} {{ $t->qty_bale ?: '-' }} {{ $t->tested_by ?: $t->user_create ?: '-' }} {{ $t->send_to_firstname ?: ($t->send_to ?: '-') }} @if ($t->notes) {{ $t->notes }} @else - @endif
@endsection @push('js') @endpush