═══ Option #170 config ═══ name_en: Approve Whatsapp name_ar: موافق واتساب قروب methods: ["email","sms","whatsapp"] whatsapp_template_id: 'investor_acceptance_with_whatsapp_group' whatsapp_placeholders: ["{{first_name_ar}}"] notification_title: 'تم قبول طلبكم للانضمام إلى مجتمع نمو للاستثمار الملائكي' notification_body: '
مرحبا {{first_name_ar}}،<...'
═══ Test investor ═══
id=1 name="" email=rami@robocallz.ai phone=966544043799
═══ Dispatching… ═══
Unknown named parameter $investor
Error
Exception trace
tests/Manual/test_label_option_170_notifications.php53$beforeId = (int) (NotificationLog::query()->max('id') ?? 0);5455echo "\n═══ Dispatching… ═══\n";56$service = app(NotificationService::class);57$logs = $service->dispatch(58 investor: $investor,59 option: $option,60 eventMeta: [61 'triggered_event' => 'label_option_changed',62 'label_key' => 'action',63 'old_option_id' => null,64 'new_option_id' => 170,65 'old_value' => null,66 'new_value' => 'approve_w',67 'admin_id' => null,68 ],69);70Queries
select * from `label_options` where `label_options`.`id` = 170 and `label_options`.`deleted_at` is null limit 1select * from `investors` where `email` is not null and `email` != '' and `phone_number` is not null and `phone_number` != '' and `investors`.`deleted_at` is null limit 1select max(`id`) as aggregate from `notification_logs`Headers
Body
Routing
Routing parameters