{{ $groom['name'] }}
Mempelai Pria
Putra dari:
{{ $groom['parents'] ?? 'Bapak P. Sitorus & Ibu R. br. Hutagalung' }}
@php $bride = $invitation->bride ?? [ 'name' => 'Marta br. Simanjuntak, S.Pd', 'nickname' => 'Marta', 'parents' => 'Bapak T. Simanjuntak & Ibu L. br. Silalahi', 'photo' => 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=600&q=80', 'instagram' => '@martasimanjuntak', ]; $groom = $invitation->groom ?? [ 'name' => 'Daniel Sitorus, S.T', 'nickname' => 'Daniel', 'parents' => 'Bapak P. Sitorus & Ibu R. br. Hutagalung', 'photo' => 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=600&q=80', 'instagram' => '@danielsitorus', ]; $coverPhoto = $invitation->cover_photo ?? 'https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=800&q=80'; $events = $invitation->events ?? [ [ 'title' => 'Pemberkatan Kudus', 'date' => '2026-12-20', 'start_time' => '09:00', 'end_time' => '11:00', 'timezone' => 'WIB', 'venue' => 'Gereja HKBP Tangerang Kota', 'address' => 'Jl. Melati No. 12, Tangerang', 'maps_url' => 'https://maps.google.com', ], [ 'title' => 'Ulaon Unjuk / Pesta Adat', 'date' => '2026-12-20', 'start_time' => '12:00', 'end_time' => '17:00', 'timezone' => 'WIB', 'venue' => 'Gedung Serbaguna Bonapasogit', 'address' => 'Jl. Kenanga No. 5, Tangerang', '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', ]; $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' => 'Tigor Siregar, S.T.', 'name' => 'Tigor Siregar, S.T.', ], [ 'bank_name' => 'Bank Mandiri', 'bank' => 'Bank Mandiri', 'account_number' => '9876543210', 'number' => '9876543210', 'account_holder' => 'Tiurma Boru Hutapea, S.E.', 'name' => 'Tiurma Boru Hutapea, S.E.', ], ]; $hasGifts = !empty($gifts) || !empty($invitation->qris_image_url) || !empty($invitation->qris_image); $stories = $invitation->stories ?? [ [ 'year' => '2019', 'title' => 'Pertemuan Pertama', 'story' => 'Kami bertemu di kegiatan naposobulung gereja. Dari perkenalan sederhana, terjalin rasa saling menghargai.', ], [ 'year' => '2021', 'title' => 'Mulai Dekat', 'story' => 'Obrolan demi obrolan membuat kami semakin memahami panggilan hidup bersama.', ], [ 'year' => '2025', 'title' => 'Marhusip & Marhata Sinamot', 'story' => 'Dengan doa kedua keluarga besar, perundingan adat dilangsungkan dengan sukacita dan penuh berkat.', ], [ 'year' => '2026', 'title' => 'Pamasumasuon & Pesta Adat', 'story' => 'Kami mengikat janji suci di hadapan Tuhan dan jemaat, serta merayakan ulaon adat bersama keluarga besar.', ], ]; $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' => 'St. P. Hutapea & Kel', 'attendance' => 'hadir', 'message' => 'Selamat Pamasumasuon tu Daniel & Marta! Sai gabe keluarga na marroha ma jala dipasupasu Tuhan.', 'created_at' => now()->subHours(2), ], (object)[ 'name' => 'Keluarga Besar Sitorus Duri', 'attendance' => 'hadir', 'message' => 'Horas! Selamat menempuh hidup baru. Rukun dan bahagia selamanya.', 'created_at' => now()->subDay(), ] ]; @endphp
Horas!
Pesta Unjuk / Pernikahan Adat Batak
{{ $formattedDate }}
Kpd Yth. Amang / Inang / Dongan Tubu:
{{ $guestName ?? 'Tamu Undangan' }}
Horas!
Pesta Pernikahan
{{ $formattedDate }}
Kpd Yth. Amang / Inang:
{{ $guestName ?? 'Tamu Undangan' }}
Menuju hari bahagia kami
“{!! nl2br(e($quoteText)) !!}”
— {{ $quoteSource }}
“Somba marhula-hula, elek marboru, manat mardongan tubu.”
Dalihan Na Tolu
Dengan kasih karunia Tuhan, kami dipersatukan
Mempelai Pria
Putra dari:
{{ $groom['parents'] ?? 'Bapak P. Sitorus & Ibu R. br. Hutagalung' }}
Mempelai Wanita
Putri dari:
{{ $bride['parents'] ?? 'Bapak T. Simanjuntak & Ibu L. br. Silalahi' }}
{{ \Carbon\Carbon::parse($event['date'])->locale('id')->isoFormat('dddd, D MMMM Y') }}
{{ $event['start_time'] ?? '09:00' }} – {{ $event['end_time'] ?? 'Selesai' }} {{ $event['timezone'] ?? 'WIB' }}
{{ $event['venue'] }}
{{ $event['address'] }}
{{ $st['story'] ?? ($st['description'] ?? '') }}
Doa restu Amang/Inang adalah berkat terindah bagi kami. Bila berkenan memberi tanda kasih secara digital, silakan klik tombol di bawah ini:
{{ $w->message }}