@extends('layouts.backend.index') @section('title', $label) @section('content')
@csrf
@php $old = old('items', []); @endphp @if (empty($old)) @else @foreach ($old['id'] as $index => $i) @php $qty = empty($old['qty'][$index]) ? 0 : str_replace('.', '', $old['qty'][$index]); @endphp @endforeach @endif @if (@$errors->has('qty')) @endif
Nama Item Kategori Stok Jumlah Terpakai Tgl. Dipakai #
@if ($index > 0) @endif
@foreach ($errors->get('qty') as $message)

{{ ucfirst($message) }}

@endforeach
ADD
@endsection @push('styles') @endpush @push('scripts') @endpush