{{ $bride['name'] }}
Mempelai Wanita
Putri dari
{{ $bride['parents'] }}
@php $bride = $invitation->bride ?? [ 'name' => 'Angela Maria Putri, S.E', 'nickname' => 'Angela', 'parents' => 'Bapak Yohanes Hartono & Ibu Maria Susanti', 'photo' => $invitation->bride_photo_url ?? ($invitation->bride_photo ?? 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=600&q=80'), 'instagram' => $invitation->bride_instagram ?? '@angelaputri', ]; $groom = $invitation->groom ?? [ 'name' => 'Fransiskus Xaverius Adi, S.T', 'nickname' => 'Frans', 'parents' => 'Bapak Petrus Wijaya & Ibu Agnes Kartika', 'photo' => $invitation->groom_photo_url ?? ($invitation->groom_photo ?? 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=600&q=80'), 'instagram' => $invitation->groom_instagram ?? '@fransadi', ]; $coverPhoto = $invitation->cover_photo ?? ($invitation->hero_photo_url ?? 'https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=800&q=80'); $events = $invitation->events ?? [ [ 'title' => 'Misa Pemberkatan Perkawinan', 'date' => '2026-12-20', 'start_time' => '10:00', 'end_time' => '12:00', 'timezone' => 'WIB', 'venue' => 'Gereja Katolik Santo Yosef', 'address' => 'Jl. Melati No. 12, Jakarta', 'maps_url' => 'https://maps.google.com', ], [ 'title' => 'Resepsi Pernikahan', 'date' => '2026-12-20', 'start_time' => '18:00', 'end_time' => '21:00', 'timezone' => 'WIB', 'venue' => 'Grand Ballroom Harmoni', 'address' => 'Jl. Anggrek No. 5, Jakarta', 'maps_url' => 'https://maps.google.com', ], ]; $primaryEvent = $events[0] ?? null; $eventDate = $primaryEvent['date'] ?? '2026-12-20'; $eventTime = $primaryEvent['start_time'] ?? '10:00'; $carbonDate = \Carbon\Carbon::parse($eventDate); $formattedDate = $carbonDate->locale('id')->isoFormat('dddd, D MMMM Y'); $galleries = $invitation->gallery ?? ($invitation->gallery_photos ?? [ 'https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=600&q=80', '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', ]); $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' => 'Angela Maria Putri', 'name' => 'Angela Maria Putri', ], [ 'bank_name' => 'Bank Mandiri', 'bank' => 'Bank Mandiri', 'account_number' => '9876543210', 'number' => '9876543210', 'account_holder' => 'Fransiskus Xaverius Adi', 'name' => 'Fransiskus Xaverius Adi', ], ]; $hasGifts = !empty($gifts) || !empty($invitation->qris_image_url) || !empty($invitation->qris_image); $stories = $invitation->stories ?? [ [ 'year' => '2019', 'title' => 'Pertama Bertemu', 'story' => 'Kami bertemu dalam kegiatan Orang Muda Katolik di paroki. Awalnya hanya saling sapa, tanpa tahu cerita ini baru dimulai.', ], [ 'year' => '2021', 'title' => 'Mulai Dekat', 'story' => 'Obrolan demi obrolan dan doa bersama membuat kami saling mengerti, dan perlahan tumbuh rasa nyaman.', ], [ 'year' => '2023', 'title' => 'Tumbuh Bersama', 'story' => 'Menghadapi lika-liku perjalanan dengan iman dan saling menguatkan mimpi bersama di bawah bimbingan-Nya.', ], [ 'year' => '2025', 'title' => 'Lamaran', 'story' => 'Kedua keluarga bertemu, menyampaikan niat baik, dan saling merestui untuk melangkah ke jenjang pernikahan.', ], [ 'year' => '2026', 'title' => 'Menuju Altar', 'story' => 'Dengan penuh syukur, kami akan menerima Sakramen Perkawinan dan memohon doa restu Anda.', ], ]; $defaultQuoteText = 'Apa yang telah dipersatukan Allah, tidak boleh diceraikan manusia.'; $defaultQuoteSource = 'Matius 19 : 6'; $quoteText = !empty($invitation->quote) ? $invitation->quote : $defaultQuoteText; $quoteSource = !empty($invitation->quote_author) ? $invitation->quote_author : $defaultQuoteSource; $wishes = $invitation->wishes ?? [ (object)[ 'name' => 'Keluarga Besar OMK', 'attendance' => 'hadir', 'message' => 'Selamat menempuh hidup baru Angela & Frans. Tuhan Yesus memberkati rumah tangga kalian senantiasa.', 'created_at' => now()->subHours(2), ], (object)[ 'name' => 'Maria & Stefanus', 'attendance' => 'hadir', 'message' => 'Proficiat! Semoga cinta kasih Kristus senantiasa menjadi dasar dan pelindung keluarga baru kalian.', 'created_at' => now()->subDay(), ] ]; @endphp
Pemberkatan Perkawinan
Salam Sejahtera
{{ $formattedDate }}
Kepada Yth.
{{ $guestName ?? 'Bapak/Ibu/Saudara/i' }}
Pemberkatan Perkawinan
Salam Sejahtera
{{ $formattedDate }}
Kepada Yth.
{{ $guestName ?? 'Bapak/Ibu/Saudara/i' }}
Save The Date
Puji Tuhan, Salam Sejahtera
“{{ $quoteText }}”
{{ $quoteSource }}
Deus caritas est
Allah adalah kasih.
Mempelai
Mempelai Wanita
Putri dari
{{ $bride['parents'] }}
Mempelai Pria
Putra dari
{{ $groom['parents'] }}
Rangkaian Acara
{{ \Carbon\Carbon::parse($ev['date'])->locale('id')->isoFormat('dddd, D MMMM Y') }}
{{ $ev['start_time'] ?? '' }} – {{ $ev['end_time'] ?? 'Selesai' }} {{ $ev['timezone'] ?? 'WIB' }}
{{ $ev['venue'] ?? '' }}
{{ $ev['address'] ?? '' }}
Our Story
{{ $st['story'] ?? ($st['content'] ?? ($st['description'] ?? '')) }}
Moments
Hadiah Pernikahan
Doa restu Anda adalah berkat terbesar bagi kami. Bila berkenan memberi tanda kasih, silakan klik tombol di bawah:
Konfirmasi
{{ $w->message }}