@extends('layouts.app') @section('title', 'Katalog Rental Gaun & Dress Mewah - Lourent') @section('content')
@php $currentCat = request('category'); $currentColl = request('collection'); @endphp @if(!$currentCat || $currentCat === 'dress' || $currentColl)
SILUET: Semua Siluet @foreach(['Long Dress' => 'long-dress', 'Midi Dress' => 'midi-dress', 'Mini Dress' => 'mini-dress', 'Sabrina' => 'sabrina', 'Halter' => 'halter', 'Berlengan' => 'berlengan', 'Simple Satin' => 'simple-satin', 'Lace' => 'lace', 'Glitter' => 'glitter'] as $name => $slug) {{ $name }} @endforeach
@else

@if($currentCat === 'heels') LUXURY HEELS & FOOTWEAR @elseif($currentCat === 'clutch') EVENING CLUTCH & BAGS @elseif($currentCat === 'slayer') BRIDAL SLAYER & VEIL @else {{ strtoupper($currentCat) }} @endif

@if($currentCat === 'heels') Koleksi sepatu pesta, stiletto, dan bridal heels mewah untuk melengkapi penampilan gaun Anda. @elseif($currentCat === 'clutch') Tas pesta crystal, evening minaudiere, dan clutch satin mewah untuk momen spesial. @elseif($currentCat === 'slayer') Koleksi aksesoris bridal slayer & veil mewah untuk melengkapi gaun impian Anda (wajib disewa bersama gaun). @endif
← Lihat Semua Koleksi
@endif
@if(\App\Models\Setting::isRentalDiscountActive())
{{ \App\Models\Setting::getRentalDiscountName() }}: Potongan Diskon {{ \App\Models\Setting::getRentalDiscountPercent() }}% untuk Seluruh Sewa Gaun! Harga di bawah sudah otomatis dipotong diskon sewa dan langsung berlaku saat checkout.
DISKON {{ \App\Models\Setting::getRentalDiscountPercent() }}% AKTIF
@endif @if($tanggalSewa && $tanggalKembali)
Menampilkan gaun yang tersedia untuk dipakai mulai {{ \Carbon\Carbon::parse($tanggalSewa)->translatedFormat('l, d F Y') }} sampai pengembalian {{ \Carbon\Carbon::parse($tanggalKembali)->translatedFormat('l, d F Y') }} @if($tipePengiriman) dengan pengiriman {{ $tipePengiriman === 'studio_pickup' ? 'Ambil di Studio' : 'Kurir / Biteship' }}. @endif
@endif
@if($currentCat === 'clutch') Menampilkan {{ $dresses->total() }} koleksi clutch & tas pesta @elseif($currentCat === 'heels') Menampilkan {{ $dresses->total() }} koleksi heels & sepatu pesta @else Menampilkan {{ $dresses->total() }} koleksi gaun @endif
@foreach(request()->except(['search', 'page']) as $k => $v) @endforeach
@if(!$currentCat || $currentCat === 'dress' || $currentColl)
Ukuran: Semua @foreach($sizes as $sz) {{ $sz }} @endforeach
@endif @if(request()->anyFilled(['category', 'sub_category', 'brand', 'occasion', 'warna', 'ukuran', 'bust_range', 'bust', 'price_bracket', 'price_min', 'price_max', 'search', 'filter_tag']))
Filter aktif: @if(request('brand') && request('brand') !== 'all') Brand: {{ request('brand') }} @endif @if(request('ukuran')) Size: {{ request('ukuran') }} @endif @if(request('bust_range') && request('bust_range') !== 'all') Bust: {{ $bustPresets[request('bust_range')] ?? request('bust_range') }} @endif @if(request('bust')) Bust: {{ request('bust') }} cm @endif @if(request('warna')) Warna: {{ request('warna') }} @endif @if(request('price_bracket') && request('price_bracket') !== 'all') Harga: {{ $priceBrackets[request('price_bracket')] ?? request('price_bracket') }} @endif @if(request('price_min') || request('price_max')) Rp {{ number_format((float)request('price_min', 0), 0, ',', '.') }} - {{ request('price_max') ? number_format((float)request('price_max'), 0, ',', '.') : 'Maks' }} @endif @if(request('category')) Kategori: {{ request('category') }} @endif @if(request('sub_category')) Sub: {{ request('sub_category') }} @endif @if(request('occasion')) Acara: {{ request('occasion') }} @endif @if(request('search')) "{{ request('search') }}" @endif @if(request('filter_tag')) Tag: {{ request('filter_tag') }} @endif Reset Semua
@endif
@include('catalog.partials.dress_grid')
Filter {{ $currentCat === 'clutch' ? 'Clutch & Bags' : ($currentCat === 'heels' ? 'Heels & Footwear' : ($currentCat === 'slayer' ? 'Slayer & Veil' : 'Gaun')) }} Lourent
@if(request('sort')) @endif @if(request('search')) @endif @if(request('category')) @endif @if(request('collection')) @endif
@if(!$currentCat || $currentCat === 'dress' || $currentColl)
@foreach($sizes as $sz) @endforeach
@foreach($bustPresets as $bKey => $bLabel) @php $bId = 'bust_' . preg_replace('/[^a-zA-Z0-9]/', '_', $bKey); @endphp @endforeach
Atau input LD: cm
@endif
@foreach($priceBrackets as $pKey => $pLabel) @endforeach
Reset Filter
@endsection