{% extends 'base_admin.html.twig' %} {% block title %}{{ tabTitle|capitalize }}s{% endblock %} {% block body %}
Mobile Number | {% if tabTitle != 'mifi' %}Employee | {% else %}Device/ Vehicle |
{% endif %}
SIM number | Provider | Password | Working | Last Checked | Remaining Data allowance (MB) |
Remaining Data Expires |
Remaining Credit |
Login | Scrape | Top Up | History | Credit checked: Date |
Time |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ mobile.mobileNumber }} | {% if tabTitle != 'Mifi' %}{{ mobile.device }} {% if mobile.employee is not null %} {{ mobile.employee.fullName }} {% endif %} {% if mobile.vehicle is not null %} ({{ mobile.vehicle }}) {% endif %} | {% else %}{{ mobile.device }} {% if mobile.vehicle is not null %} ({{ mobile.vehicle }}) {% endif %} | {% endif %}{{ mobile.simNumber }} | {{ mobile.provider }} | {{ mobile.password }} | {{ mobile.checkedWorking }}
{% if mobile.checkedWorking != 'Yes' %}
Yes
{% endif %} {% if mobile.checkedWorking != 'No' %} No {% endif %} {% if mobile.checkedWorking == 'Yes' or mobile.checkedWorking == 'No' %} Reset {% endif %} |
{{ mobile.lastChecked ? mobile.lastChecked|date('d-M-Y') : '-' }} | {{ mobile.freeDataAllowance }} | {% if mobile.freeDataAllowanceDate is null %} - {% else %} {{ mobile.freeDataAllowanceDate |date ('d-M-Y') }} {% endif %} | {{ mobile.credit }} | Login | Scrape | TopUp | {% if mobile.id in history %} History {% else %} Add history {% endif %} | {% if mobile.date is null %} - {% else %} {{ mobile.date |date ('d-M-Y') }} {% endif %} | {% if mobile.date is null %} - {% else %} {{ mobile.date |date ('h:m') }} {% endif %} |