{{ $bride['name'] }}
Pradnya / Mempelai Wanita
Putri tercinta dari:
{{ $bride['parents'] ?? 'Bapak I Wayan Sudiarta & Ibu Ni Ketut Suarti' }}
@php $bride = $invitation->bride ?? [ 'name' => 'Ni Made Ayu Pradnya Dewi, S.Pd', 'nickname' => 'Ayu', 'parents' => 'Bapak I Wayan Sudiarta & Ibu Ni Ketut Suarti', 'photo' => 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=600&q=80', 'instagram' => '@ayupradnya', ]; $groom = $invitation->groom ?? [ 'name' => 'I Putu Bagus Wiguna, S.T', 'nickname' => 'Bagus', 'parents' => 'Bapak I Nyoman Artha & Ibu Ni Luh Sari', 'photo' => 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=600&q=80', 'instagram' => '@baguswiguna', ]; $coverPhoto = $invitation->cover_photo ?? 'https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=800&q=80'; $events = $invitation->events ?? [ [ 'title' => 'Upacara Pawiwahan', 'date' => '2026-12-20', 'start_time' => '09:00', 'end_time' => '12:00', 'timezone' => 'WITA', 'venue' => 'Kediaman Mempelai Wanita', 'address' => 'Banjar Tegal, Ubud, Gianyar', 'maps_url' => 'https://maps.google.com', ], [ 'title' => 'Resepsi Pawiwahan', 'date' => '2026-12-20', 'start_time' => '18:00', 'end_time' => '21:00', 'timezone' => 'WITA', 'venue' => 'Wantilan Taman Sari', 'address' => 'Jl. Raya Sanur No. 8, Denpasar', 'maps_url' => 'https://maps.google.com', ], ]; $primaryEvent = $events[0] ?? null; $eventDate = $primaryEvent['date'] ?? '2026-12-20'; $eventTime = $primaryEvent['start_time'] ?? '09:00'; $carbonDate = \Carbon\Carbon::parse($eventDate); $formattedDate = $carbonDate->locale('id')->isoFormat('dddd, D MMMM Y'); $galleries = $invitation->gallery ?? [ 'https://images.unsplash.com/photo-1583939003579-730e3918a45a?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1522673607200-164d1b6ce486?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1465495976277-4387d4b0b4c6?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1520854221256-17451cc331bf?auto=format&fit=crop&w=600&q=80', ]; $rawBankAccounts = !empty($invitation->bank_accounts) ? $invitation->bank_accounts : (!empty($invitation->gifts) ? $invitation->gifts : null); if (empty($rawBankAccounts) && !empty($invitation->bank_name)) { $rawBankAccounts = [ [ 'bank_name' => $invitation->bank_name, 'bank' => $invitation->bank_name, 'account_number' => $invitation->bank_account ?? '', 'number' => $invitation->bank_account ?? '', 'account_holder' => $invitation->bank_holder ?? 'Mempelai', 'name' => $invitation->bank_holder ?? 'Mempelai', ] ]; } $gifts = !empty($rawBankAccounts) ? $rawBankAccounts : [ [ 'bank_name' => 'Bank BCA', 'bank' => 'Bank BCA', 'account_number' => '1234567890', 'number' => '1234567890', 'account_holder' => 'I Wayan Arya Pratama', 'name' => 'I Wayan Arya Pratama', ], [ 'bank_name' => 'Bank BPD Bali', 'bank' => 'Bank BPD Bali', 'account_number' => '9876543210', 'number' => '9876543210', 'account_holder' => 'Ni Made Larasati Dewi', 'name' => 'Ni Made Larasati Dewi', ], ]; $hasGifts = !empty($gifts) || !empty($invitation->qris_image_url) || !empty($invitation->qris_image); $stories = $invitation->stories ?? [ [ 'year' => '2019', 'title' => 'Pertama Bertemu', 'story' => 'Kami bertemu di sebuah acara kampus. Awalnya hanya saling sapa, tanpa tahu cerita ini baru dimulai.', ], [ 'year' => '2021', 'title' => 'Mulai Dekat', 'story' => 'Obrolan demi obrolan membuat kami saling mengerti, dan perlahan tumbuh rasa nyaman.', ], [ 'year' => '2025', 'title' => 'Ngidih (Meminang)', 'story' => 'Dengan restu kedua keluarga, Bagus datang meminang Ayu dalam suasana sederhana yang penuh haru.', ], [ 'year' => '2026', 'title' => 'Pawiwahan', 'story' => 'Dengan niat tulus dan doa leluhur, kami melangkah ke jenjang pernikahan dan memohon restu Anda.', ], ]; $defaultQuoteText = 'Dalam keluarga di mana suami berbahagia bersama istrinya dan istri berbahagia bersama suaminya, di sanalah kebahagiaan akan kekal selamanya.'; $defaultQuoteSource = 'Manawa Dharmasastra III.60'; $quoteText = !empty($invitation->quote) ? $invitation->quote : $defaultQuoteText; $quoteSource = !empty($invitation->quote_author) ? $invitation->quote_author : $defaultQuoteSource; $wishes = $invitation->wishes ?? [ (object)[ 'name' => 'Wayan Sudarma & Keluarga', 'attendance' => 'hadir', 'message' => 'Rahajeng Pawiwahan Ayu & Bagus! Dumogi langgeng riwekasan, bahagia lahir batin.', 'created_at' => now()->subHours(2), ], (object)[ 'name' => 'Ketut Sukarta', 'attendance' => 'hadir', 'message' => 'Om Swastiastu, selamat menempuh hidup baru untuk kedua mempelai.', 'created_at' => now()->subDay(), ] ]; @endphp
Om Swastiastu
Pawiwahan Adat Bali
{{ $formattedDate }}
Kepada Yth. Bapak/Ibu/Saudara/i:
{{ $guestName ?? 'Tamu Undangan' }}
Om Swastiastu
Pawiwahan
{{ $formattedDate }}
Kepada Yth.
{{ $guestName ?? 'Bapak/Ibu/Saudara/i' }}
Rahajeng Rahina
Om Swastiastu
“{!! nl2br(e($quoteText)) !!}”
— {{ $quoteSource }}
Rahajeng Pawiwahan
Pradnya / Mempelai Wanita
Putri tercinta dari:
{{ $bride['parents'] ?? 'Bapak I Wayan Sudiarta & Ibu Ni Ketut Suarti' }}
Purusa / Mempelai Pria
Putra tercinta dari:
{{ $groom['parents'] ?? 'Bapak I Nyoman Artha & Ibu Ni Luh Sari' }}
Rangkaian Acara
{{ \Carbon\Carbon::parse($event['date'])->locale('id')->isoFormat('dddd, D MMMM Y') }}
{{ $event['start_time'] ?? '09:00' }} - {{ $event['end_time'] ?? 'Selesai' }} {{ $event['timezone'] ?? 'WITA' }}
{{ $event['venue'] }}
{{ $event['address'] }}
Our Journey
{{ $st['story'] ?? ($st['description'] ?? '') }}
Moments
Dana Punia
Doa restu semeton sami wantah karunia utama majeng ring titiang. Yening wenten kedeh arsa ngicenin tanda kasih secara digital, durusang klik tombol ring sor:
Konfirmasi Kehadiran
{{ $w->message }}