@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
| No | Mat Type | Resource | Material FG/SFG | Capacity | Width | Length | Status | @if(session('user') && session('user')->idroles === 'admins')Dibuat Oleh | @endifAction |
|---|---|---|---|---|---|---|---|---|---|
| {{ $rowCount }} | {{ $detail_h->mat_type ?? '-' }} | {{ $detail_h->resource ?? '-' }} | {{ $detail_h->material_fg_sfg ?? '-' }} | @if($detail_h->capacity) @php // Handle multiple capacities (comma-separated) $capacities = explode(',', $detail_h->capacity); $formattedCapacities = []; foreach($capacities as $cap) { $cap = trim($cap); if(is_numeric($cap)) { $formattedCapacities[] = number_format((float)$cap, 2); } else { $formattedCapacities[] = $cap; } } echo implode(', ', $formattedCapacities); @endphp @else 0.00 @endif | {{ $detail_h->width ? number_format($detail_h->width, 3) : '0.000' }} | {{ $detail_h->length ? number_format($detail_h->length, 2) : '0.00' }} | @if(isset($detail_h->is_exported) && $detail_h->is_exported == 1) Sudah Diproses @else Belum Diproses @endif | @if(session('user') && session('user')->idroles === 'admins'){{ $detail_h->user_create ?? '-' }} | @endif{{-- button view --}} {{-- button cancel --}} @if ((!isset($detail_h->is_exported) || $detail_h->is_exported == 0) && isset($authorize) && $authorize->delete == '1') @endif |
| No | Item No | COMP MATERIAL CODE | COMP DESC | Product QTY | Comp QTY |
|---|