{% load jalali %}

پیامک اعلامیه و سوابق ارسال

پذیرش پیامک توسط سرویس به معنی رسیدن به گوشی نیست؛ وضعیت دریافت بر اساس استعلام سرویس پیامک نمایش داده می‌شود.

{% if can_resend_notice_sms %}
{% csrf_token %}
{% if notice_sms_pending %}

پیامک در صف یا در حال ارسال است. نتیجه پس از پردازش سامانه و با تازه‌سازی این صفحه نمایش داده می‌شود.

{% endif %} {% endif %}
{% for notification in notifications %}
{% if notification.manual_resend %}ارسال مجدد{% else %}ارسال اولیه{% endif %}

وضعیت ارسال: {% if notification.job.status == 'SENT' %}پذیرفته‌شده توسط سرویس پیامک{% else %}{{ notification.job.get_status_display }}{% endif %}

وضعیت دریافت: {{ notification.delivery_label }}

{% if notification.job.staff_user %}

درخواست‌کننده: {{ notification.job.staff_user.staff_profile.display_name|default:notification.job.staff_user.get_full_name|default:notification.job.staff_user.username }}

{% endif %} {% if notification.job.sent_at %}

زمان ارسال: {{ notification.job.sent_at|jalali_datetime }}

{% endif %} {% if notification.job.status == 'RETRYING' %}

تلاش خودکار بعدی: {{ notification.job.next_attempt_at|jalali_datetime }}

{% endif %} {% if notification.job.last_error %}

علت خطای ارسال: {{ notification.job.last_error }}

{% endif %} {% if notification.job.delivery_checked_at %}

آخرین استعلام: {{ notification.job.delivery_checked_at|jalali_datetime }} · {{ notification.job.delivery_check_attempts }} نوبت

{% endif %} {% if notification.job.delivery_next_check_at %}

استعلام بعدی: {{ notification.job.delivery_next_check_at|jalali_datetime }}

{% endif %} {% if notification.job.delivery_description %}

شرح نتیجه دریافت: {{ notification.job.delivery_description }}

{% endif %} {% if notification.job.delivery_status_code %}

کد وضعیت دریافت: {{ notification.job.delivery_status_code }}

{% endif %}
جزئیات پیام و تلاش‌های ارسال ({{ notification.send_attempts|length }}) {% if notification.rendered_body %}
{{ notification.rendered_body|linebreaksbr }}
{% endif %} {% for attempt in notification.send_attempts %}

· {% if attempt.success == True %}پذیرفته‌شده توسط سرویس{% elif attempt.success == False %}تلاش ناموفق{% else %}نتیجه تلاش هنوز ثبت نشده است{% endif %}

{% if attempt.finished_at %}

پایان تلاش: {{ attempt.finished_at|jalali_datetime }}

{% endif %} {% if attempt.provider_id %}

شناسه رهگیری: {{ attempt.provider_id }}

{% endif %} {% if attempt.provider_code %}

کد پاسخ سرویس: {{ attempt.provider_code }}

{% endif %} {% if attempt.error %}

{{ attempt.error }}

{% endif %} {% empty %}

هنوز تلاشی برای ارسال ثبت نشده است.

{% endfor %}
{% empty %}

اطلاع‌رسانی ثبت‌شده‌ای وجود ندارد.

{% endfor %}