@php $listData = $list_outsource ?? []; @endphp @extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
Kembali
Terakhir sinkron: {{ $last_sync_time ?? 'Belum Pernah' }}
List Test Outsource
{{-- Filter Status Dropdown --}}

@include('components.alert')
@if (!empty($listData) && count($listData) > 0) @foreach ($listData as $idx => $row) @php $budatFormatted = $row->BUDAT ? \Carbon\Carbon::parse($row->BUDAT)->format('d/m/Y') : '-'; $qtyFormatted = number_format((float) ($row->MENGE ?? 0), 2, ',', '.') . ' ' . ($row->MEINS ?? ''); $plantLoc = trim(($row->WERKS ?? '') . ' / ' . ($row->LGORT ?? ''), ' /'); @endphp @endforeach @else @endif
No Action Status Posting Date Batch Material Description Supplier Name Supplier Customer Name Customer Qty
{{ $loop->iteration }}
@if (!$row->has_qc) @if (($authorize->add ?? '1') == '1') @endif @else @if (in_array($row->qc_status, ['draft', 'rejected'])) @if (($authorize->edit ?? '1') == '1') @endif @else @endif @endif
@if (!$row->has_qc) Belum Ditest @elseif ($row->qc_status === 'draft') Draft @elseif ($row->qc_status === 'pending') Pending @elseif ($row->qc_status === 'approved') Approved @elseif ($row->qc_status === 'rejected') Rejected @else {{ ucfirst((string) $row->qc_status) }} @endif {{ $budatFormatted }} {{ $row->BATCH ?? '-' }} {{ $row->MATNR ?? '-' }} {{ $row->MAKTX ?? '-' }} {{ $row->LIFNR ?? '-' }} {{ mb_strtoupper($row->NAME1 ?? '-', 'UTF-8') }} {{ $row->CUSTOMER ?? '-' }} {{ mb_strtoupper($row->customer_name ?? ($row->CUSTOMER ?? '-'), 'UTF-8') }} @if (!empty($row->qc_qty_bale)) {{ $row->qc_qty_bale }} @elseif (!empty($row->BATCH_TOTAL)) {{ $row->BATCH_TOTAL }} @else - @endif
Data tidak ditemukan.
@endsection @push('css') @endpush @push('js') @endpush