{
    "name": "communications",
    "label_en": "Communications & Documents",
    "label_ar": "الاتصالات والمستندات",
    "version": "1.0.0",
    "description": "Notification templates, bulk communications, announcements, document generation",
    "sort_order": 110,
    "icon": "fas fa-bell",
    "routes_file": "routes.php",
    "css_files": ["css/communications.css"],
    "js_files": ["js/communications.js"],
    "menu": [
        {
            "label_en": "Communications",
            "label_ar": "الاتصالات",
            "icon": "fas fa-bell",
            "permission": "notifications.view",
            "sort_order": 110,
            "children": [
                {
                    "label_en": "Notification Templates",
                    "label_ar": "قوالب الإشعارات",
                    "route": "/communications/templates",
                    "permission": "notifications.view",
                    "sort_order": 1
                },
                {
                    "label_en": "Channels",
                    "label_ar": "القنوات",
                    "route": "/communications/channels",
                    "permission": "notifications.view",
                    "sort_order": 2
                },
                {
                    "label_en": "Triggers",
                    "label_ar": "المشغلات",
                    "route": "/communications/triggers",
                    "permission": "notifications.view",
                    "sort_order": 3
                },
                {
                    "label_en": "Notification Queue",
                    "label_ar": "قائمة الإشعارات",
                    "route": "/communications/queue",
                    "permission": "notifications.send",
                    "sort_order": 4
                },
                {
                    "label_en": "Sent Notifications",
                    "label_ar": "الإشعارات المرسلة",
                    "route": "/communications/sent",
                    "permission": "notifications.view",
                    "sort_order": 5
                },
                {
                    "label_en": "Bulk Communications",
                    "label_ar": "اتصالات جماعية",
                    "route": "/communications/bulk",
                    "permission": "notifications.bulk",
                    "sort_order": 6
                },
                {
                    "label_en": "Email Log",
                    "label_ar": "سجل البريد",
                    "route": "/communications/email-log",
                    "permission": "notifications.view",
                    "sort_order": 7
                },
                {
                    "label_en": "SMS Log",
                    "label_ar": "سجل الرسائل",
                    "route": "/communications/sms-log",
                    "permission": "notifications.view",
                    "sort_order": 8
                },
                {
                    "label_en": "Announcements",
                    "label_ar": "الإعلانات",
                    "route": "/communications/announcements",
                    "permission": "notifications.send",
                    "sort_order": 9
                },
                {
                    "label_en": "Document Templates",
                    "label_ar": "قوالب المستندات",
                    "route": "/communications/document-templates",
                    "permission": "documents.view",
                    "sort_order": 10
                },
                {
                    "label_en": "Generate Document",
                    "label_ar": "إنشاء مستند",
                    "route": "/communications/documents/generate",
                    "permission": "documents.manage",
                    "sort_order": 11
                }
            ]
        }
    ],
    "dashboard_widgets": [
        {
            "widget_id": "notifications_sent_today",
            "label_en": "Notifications Sent Today",
            "label_ar": "الإشعارات المرسلة اليوم",
            "permission": "notifications.view",
            "partial": "views/widgets/sent_today.php",
            "size": "col-md-4",
            "sort_order": 110
        },
        {
            "widget_id": "failed_notifications",
            "label_en": "Failed Notifications",
            "label_ar": "الإشعارات الفاشلة",
            "permission": "notifications.view",
            "partial": "views/widgets/failed_notifications.php",
            "size": "col-md-4",
            "sort_order": 111
        }
    ]
}