إجمالي المستأجرين
{{ total_tenants }}
قاعدة البيانات النشطة
أرقام الهواتف المسجلة
{{ tenants_with_phone }}
{% if total_tenants > 0 %}
{{ ((tenants_with_phone / total_tenants) * 100)|round|int }}% من المستأجرين
{% else %}
100%
{% endif %}
عقود بتواريخ انتهاء
{{ tenants_with_end_date }}
مؤهلة للتنبيه الآلي
إجمالي الإشعارات
{{ total_notifications }}
{{ successful_notifications }} إشعار ناجح
تصفية وتحديد بيانات المستأجرين
{% if request.args.get('filter_type') %} إلغاء الفلتر {% endif %}{% if request.args.get('filter_type') == 'expiring_soon' %} نتائج: العقود التي قاربت على الانتهاء {% elif request.args.get('filter_type') == 'expired' %} نتائج: العقود المنتهية {% elif request.args.get('filter_type') == 'no_phone' %} نتائج: المستأجرين بدون أرقام هواتف {% else %} نتائج الفلترة {% endif %} {{ filtered_tenants|length }} مستأجر
{% if filtered_tenants %}
{% else %}
{% endif %}
| # | اسم المستأجر | رقم الهاتف | تاريخ البدء | تاريخ الانتهاء | {% if request.args.get('filter_type') == 'expiring_soon' %}المهلة المتبقية | {% endif %}الإجراءات |
|---|---|---|---|---|---|---|
| {{ tenant[0] }} |
{{ (tenant[1] or 'م')[:1] }}
{{ tenant[1] or 'مستأجر' }}
|
{% if tenant[2] %} {{ tenant[2] }} {% else %} غير مسجل {% endif %} | {{ tenant[3] if tenant[3] else '---' }} | {{ tenant[4] if tenant[4] else '---' }} | {% if request.args.get('filter_type') == 'expiring_soon' %}{% if tenant|length > 5 %} {% set days = tenant[5] %} {% if days <= 10 %} {{ days }} يوم متبقي {% elif days <= 30 %} {{ days }} يوم متبقي {% else %} {{ days }} يوم {% endif %} {% else %} --- {% endif %} | {% endif %}
لا توجد بيانات تطابق الفلتر المحدد
جرّب تغيير نوع الفلتر أو زيادة نطاق الأيام
معدل تسليم ونجاح الإشعارات
{% if total_notifications > 0 %}
{% set success_rate = (successful_notifications / total_notifications * 100) | round(1) %}
{% endif %}
{{ success_rate }}%
نسبة الإرسال الناجح التراكمية
{{ successful_notifications }} ناجح من {{ total_notifications }}
0%
50%
100% (أداء مثالي)
{% else %}
لا توجد إشعارات مسجلة لحساب المعدل حتى الآن
توزيع الإشعارات حسب النوع
{% if notifications_by_type %}
{% for notification in notifications_by_type %}
{% endfor %}
{% else %}
{% endif %}
{{ notification[0] }}
{{ notification[1] }} إشعار
لا توجد سجلات تنبيهات بحسب الأنواع
أحدث سجلات الإشعارات الصادرة (آخر 10 تنبيهات)
سجل النظام المباشر| اسم المستأجر | نوع التنبيه | حالة الإرسال | تاريخ ووقت الإرسال |
|---|---|---|---|
| {{ notif[0] }} | {% if notif[1] == 'شهري' %} {{ notif[1] }} {% else %} {{ notif[1] }} {% endif %} | {% if notif[2] == 'نجح' %} نجح الإرسال {% else %} فشل {% endif %} | {{ notif[3] }} |