@extends('layouts.admin') @section('title', 'Edit Gaun: ' . $dress->name) @section('page_title', 'Edit Gaun: ' . $dress->name) @section('content')
@csrf @method('PUT')
1. Informasi Dasar & Identitas
Format SKU studio Lourent: LR001 sampai LR650
2. Ukuran, Warna & Pengukuran
@php $availableSizes = ['XS', 'S', 'M', 'L', 'XL', '2XL', '3XL', '4XL', '5XL', '6XL', 'XS-S', 'S-M', 'M-L', 'L-XL', 'S-XL', '2XL-3XL', 'All Size', 'Free Size']; if (!empty($dress->size) && !in_array($dress->size, $availableSizes)) { $availableSizes[] = $dress->size; } @endphp
3. Harga, Stok & Status
Default studio: Rp {{ number_format((float)\App\Models\Setting::get('extra_day_price', 50000), 0, ',', '.') }}/hari
Isi 2 jika studio memiliki 2 pcs gaun identik (dapat disewa 2 customer di tanggal sama).
4. Foto Utama & Galeri Gambar Mendukung Drag & Drop di HP & Laptop
{{ $dress->name }} UTAMA
Bisa Pilih Berkali-kali (Tidak Menimpa)
Klik lagi jika ingin menambah foto lainnya, foto yang dipilih sebelumnya tetap tersimpan.
Foto juga otomatis tersimpan jika klik "Simpan Perubahan" di bawah.
HP & Layar Sentuh: Tahan ikon grip lalu geser kartu untuk mengubah urutan foto.
@if($dress->images->count() > 0)
@foreach($dress->images as $idx => $img) @endforeach
@else
Belum ada foto tambahan di galeri gaun ini. Pilih file foto atau masukkan link URL di atas untuk menambahkan.
@endif
5. Deskripsi & Opsi
is_featured) ? 'checked' : '' }}>
is_new_in) ? 'checked' : '' }}>
is_coming_soon) ? 'checked' : '' }}>
is_best_seller) ? 'checked' : '' }}>
is_hijab_friendly) ? 'checked' : '' }}>
is_bumil_friendly) ? 'checked' : '' }}>
is_active) ? 'checked' : '' }}>
Batal
@if($dress->is_active) @else @endif
@push('scripts') @endpush @endsection