@if(auth()->user()?->isAdmin())
@error('sumber_beli') {{ $message }} @enderror
@endif
@if(count($bulkItems) > 0)
Daftar Barang
@foreach($bulkItems as $index => $item)
{{ $item['merk_model'] }}
{{ $item['imei'] }}
@if(!empty($item['warna']) || !empty($item['keterangan_minus']))
{{ $item['warna'] ?? '-' }}
@if(!empty($item['keterangan_minus'])) | {{ $item['keterangan_minus'] }} @endif
@endif
@if(auth()->user()?->isAdmin())
Rp {{ number_format($item['harga_beli_awal'], 0, ',', '.') }}
@endif
@endforeach
@if(auth()->user()?->isAdmin())
Total Borongan:
Rp {{ number_format($total_borongan, 0, ',', '.') }}
@endif
@endif
@if(auth()->user()?->isAdmin())
@endif