@extends('admin.layout.master') @section('open-pemasaran', 'open') @section('menu-pemasaran', 'bg-gradient-to-r from-[#53BF6A] to-[#275931] text-white') @section('menu-pemasaran-penerimaan-pengiriman-produk', 'bg-gradient-to-r from-[#53BF6A] to-[#275931] text-white') @section('content')
Gudang › Shipment Receipt
Reset
@can('export penerimaan pengiriman produk') Export .xlsx @endcan @can('tambah penerimaan pengiriman produk') + Tambah Baru @endcan
{{-- --}} @forelse ($shipmentReceipts as $shipmentReceipt) {{-- --}} @empty @endforelse
Code ShipmentTanggal ReceiptTanggal Diterima Penerima Gudang Status Aksi
{{ $shipmentReceipt->shipment->shipment_code ?? '-' }} {{ $shipmentReceipt->created_at?->format('d M Y') ?? '-' }} {{ $shipmentReceipt->received_at?->format('d M Y') ?? '-' }} {{ $shipmentReceipt->receivedBy->name ?? '-' }} {{ $shipmentReceipt->shipment->warehouse->name ?? '-' }} @php $statusClass = match ($shipmentReceipt->status) { 'diterima' => 'bg-blue-100 text-blue-800', 'disetujui' => 'bg-green-100 text-green-800', 'ditolak' => 'bg-red-100 text-red-800', default => 'bg-gray-100 text-gray-800', }; @endphp {{ $shipmentReceipt->status }}
@canany([ 'edit penerimaan pengiriman produk', 'edit status penerimaan pengiriman produk', 'baca penerimaan pengiriman produk', ]) Sunting @endcanany {{-- | --}} Cetak @can('hapus penerimaan pengiriman produk') {{-- | --}}
@csrf @method('DELETE')
@endcan
Data Tidak Ada
Showing {{ $shipmentReceipts->firstItem() ?? 0 }}–{{ $shipmentReceipts->lastItem() ?? 0 }} of {{ $shipmentReceipts->total() }}
@endsection @section('addJs') @endsection