{{-- Entity-level SMART RETRY control — button + modal. Drives NotificationRetryController (preview + execute) which delegates to NotificationRetryService::retryEntity() / SmartRetryPlanner. The UI NEVER computes who to send to and never bypasses the idempotency success-guard — it only renders the engine's dry-run + result. Delta only: already-delivered recipients are skipped by the backend. Props: preview-url POST → dry-run summary (no sending) execute-url POST → queue the delta + result summary entity-type 'demo' | 'committee' | 'notification' | … entity-id int entity-title string entity-label optional badge text (defaults to Demo/Committee by entity-type) show-automation-type bool (default true) — hide for single-source producers show-audience bool (default true) — hide when audience is fixed show-not-confirmed bool (default true) — hide when there is no attendance axis --}} @props([ 'previewUrl', 'executeUrl', 'entityType', 'entityId', 'entityTitle', 'entityLabel' => null, 'showAutomationType' => true, 'showAudience' => true, 'showNotConfirmed' => true, ]) @php $ar = app()->getLocale() === 'ar'; $badgeLabel = $entityLabel ?? ($entityType === 'demo' ? ($ar ? 'ديمو' : 'Demo') : ($ar ? 'لجنة' : 'Committee')); @endphp
{{ $ar ? 'لن يُعاد الإرسال للقنوات التي قُبلت سابقاً عند المزوّد أو تأكد تسليمها، منعاً للتكرار.' : 'Channels already accepted by the provider or confirmed delivered are not resent, preventing duplicates.' }}
{{ $ar ? 'يُعاد الإرسال لكل من لم يؤكّد حضوره — حتى لو وصلته الرسالة من قبل. (الشركات: كلها تُعتبر غير مؤكَّدة.)' : 'Re-sends to everyone who has not confirmed attendance — even if they already received it. (Companies: all are treated as not confirmed.)' }}
| {{ $ar ? 'القناة' : 'Channel' }} | {{ $ar ? 'قُبلت' : 'Accepted' }} | {{ $ar ? 'تسليم مؤكّد' : 'Delivered' }} | {{ $ar ? 'قُرئت' : 'Read' }} | {{ $ar ? 'فشل' : 'Failed' }} | {{ $ar ? 'معلّق/لم يُرسل' : 'Pending / not sent' }} | {{ $ar ? 'سيُرسل' : 'Will send' }} |
|---|---|---|---|---|---|---|
| {{ $ar ? 'الأتمتة' : 'Automation' }} | {{ $ar ? 'الجمهور' : 'Audience' }} | {{ $ar ? 'الكل' : 'Total' }} | {{ $ar ? 'مقبول أو أفضل' : 'Accepted or better' }} | {{ $ar ? 'فشل' : 'Failed' }} | {{ $ar ? 'لم يُرسل' : 'Not sent' }} | {{ $ar ? 'سيُرسل' : 'Will send' }} |
|---|---|---|---|---|---|---|
{{ $ar ? 'سيتم تخطّي القنوات المقبولة سابقاً أو مؤكدة التسليم تلقائياً، وسيُعالَج فقط' : 'Previously accepted or confirmed-delivered channels are skipped automatically — only' }} {{ $ar ? 'مستلم.' : 'recipient(s) will be processed.' }}
{{ $ar ? 'سيُعاد إرسال الإشعارات إلى' : 'Notifications will be re-sent to' }} {{ $ar ? 'مستلم لم يؤكّدوا حضورهم — حتى من وصلتهم الرسالة من قبل. (لن تتكرر سجلات الإرسال للمستلم نفسه.)' : 'recipient(s) who have not confirmed attendance — including those who already received it. (No duplicate dispatch ledger rows per recipient.)' }}