@extends('layouts.app') @section('title', 'Data Label Barcode') @section('content') @php $printAll = array_filter(['all' => $batch === '' ? 1 : null, 'batch' => $batch ?: null, 'q' => $q ?: null]); @endphp

Data Label Barcode

@if ($batch !== '' || $q !== '') {{ number_format($labels->total()) }} baris tampil · {{ number_format($filteredQty) }} keping siap cetak (dari {{ number_format($totalLabels) }} label tersimpan) @else {{ number_format($totalLabels) }} label tersimpan · total {{ number_format($totalQty) }} keping siap cetak @endif

@if ($batch !== '') Cetak Hasil Upload Lihat Semua @endif @if ($totalLabels > 0) @endif Import Excel Export Excel + Label Baru
@if ($batch !== '')
✓ Upload berhasil: {{ number_format($labels->total()) }} kode seri sudah masuk dan siap dicetak ({{ number_format($filteredQty) }} keping).
@endif
@if ($batch !== '') @endif @if ($q !== '' || $batch !== '') Reset @endif {{ $batch !== '' || $q !== '' ? 'Cetak semua yang tampil' : 'Cetak semua label' }}
@if ($labels->isEmpty())

Belum ada data label. Import dari Excel atau buat satu per satu.

@else
@foreach ($labels as $label) @endforeach
KODE SERI TOTAL PECAHAN KET ISI BARCODE TEKS LABEL TIPE QTY
{{ $label->item_code }} {{ $label->total ? number_format($label->total) : '—' }} {{ $label->pecahan ? number_format($label->pecahan) : '—' }} {{ $label->notes }} {{ $label->barcode_value }} {{ $label->title }} {{ $label->barcode_type }} {{ number_format($label->qty) }}
{{-- Hidden forms for delete actions --}} @if ($totalLabels > 0) @endif @endif
@push('head') @endpush @endsection