Import / Export
@can('price.view') @endcan @canany(['item.create', 'price.update'])
@endcanany @can('item.create') @endcan @can('price.update') @endcan
@can('item.create') Tambah Item @endcan
Item Status BM Harga Acuan (akun aktif) Aksi @forelse ($items as $item) @php $priced = $item->prices; $count = $priced->count(); $min = $priced->min('max_price'); $max = $priced->max('max_price'); @endphp

{{ $item->brand }} {{ $item->model }} {{ $item->storage }}

{{ $item->ram ? $item->ram.' RAM · ' : '' }}{{ $item->notes ?: '—' }}

@if ($count > 0)

{{ \App\Support\Money::format($min) }} – {{ \App\Support\Money::format($max) }}

{{ $count }}/10 grade terisi

@else Belum diatur @endif
@can('price.update') Atur Harga @endcan @can('item.update') @endcan @can('item.delete') @endcan
@empty @endforelse @if ($items->hasPages()) {{ $items->links() }} @endif
@if ($showItemModal)
@foreach ($bmOptions as $val => $label) @endforeach
@endif @if ($showPriceModal)

Plafon harga maksimal per grade untuk akun {{ $this->activeAccount()?->name }}. Kosongkan bila tidak dipakai.

@foreach ($grades as $g)
{{ $g->label() }}
@endforeach
@endif @if ($showDeleteItem) @endif @if ($showImport) @endif