{{ $pageTitle }}
@foreach ($stockOpname as $item)
{{ $item->outlet->name }} {{ $item->period_month }}
{{ $item->status->label() }}
Total Item
{{ $item->total_item }}
Progress
{{ $item->progress_filled }} / {{ $item->total_item }} | ({{ $item->progress_percent }}%)
@if ($item['note'])
Catatan
{{ $item['note'] }}
@endif
@if ($item->status === \App\Enums\StockOpnameStatus::PROCESS) @if ($item->progress_percent == 100) @endif @endif @if ($item->status === \App\Enums\StockOpnameStatus::PENDING_APPROVAL && auth()->user()->can('approve stock opname')) @endif
@endforeach
@include('components.modals.confirmation', [ 'modalName' => 'confirmation-modal', 'modalTitle' => 'Apakah Anda yakin?', 'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.', 'buttonVariant' => 'primary', 'buttonColor' => 'danger', 'buttonText' => 'Ya, Hapus', ])