List all rental items across categories (iPhone and Gear).
| Nama & Info | Detail Spesifikasi | Harga Sewa | Status | Aksi |
|---|---|---|---|---|
|
{{ $unit->seri }}
@if($unit->category)
@if($unit->imei)
{{ $unit->imei }}
@endif
{{-- Specs + price shown only on mobile --}}
@if($unit->warna || $unit->memori)
{{ $unit->warna }} ·
{{ $unit->memori }}
@endif
Rp
{{ number_format($unit->harga_per_hari, 0, ',', '.') }}/hari · Rp
{{ number_format($unit->harga_per_jam, 0, ',', '.') }}/jam
|
@if($unit->category && str_contains(strtolower($unit->category->slug), 'iphone'))
{{ $unit->warna }} - {{ $unit->memori }}
@else
@if($unit->specs && count($unit->specs) > 0)
@foreach($unit->specs as $key => $val)
@if($val)
@else
{{ $key }}:
{{ $val }}
@endif
@endforeach
Umum
@endif
@endif
@if($unit->kondisi)
{{ $unit->kondisi }}
@endif
|
Rp
{{ number_format($unit->harga_per_hari, 0, ',', '.') }} / hari
Rp
{{ number_format($unit->harga_per_jam, 0, ',', '.') }} / jam
|
@if($unit->trashed())
|
@if($unit->trashed())
@if(auth()->user()->role === 'admin')
{{-- Restore Button --}}
{{-- Force Delete Button --}}
@endif
@else
@if(auth()->user()->role === 'admin')
@endif
@endif
|
| Belum ada data unit. | ||||
Showing {{ $units->firstItem() ?? 0 }}-{{ $units->lastItem() ?? 0 }} of {{ $units->total() }}
| Nama Kategori | Slug / Icon | Custom Fields | Aksi |
|---|---|---|---|
| {{ $cat->name }} |
/{{ $cat->slug }}
@if($cat->icon)
{{ $cat->icon }}
@endif
|
@if($cat->custom_fields)
@foreach($cat->custom_fields as $field)
{{ $field }}
@endforeach
@else
-
@endif
|
Showing {{ $categories->firstItem() ?? 0 }}-{{ $categories->lastItem() ?? 0 }} of {{ $categories->total() }}