{% set job = createModel('Jobs').findById(uuid) %} {% set config = createProperties(job.config) %}

{{ title }}

{% if job.status == constant('Arikaim\\Core\\Interfaces\\Job\\JobInterface::STATUS_SUSPENDED') %} {% elseif job.status != constant('Arikaim\\Core\\Interfaces\\Job\\JobInterface::STATUS_COMPLETED') %} {% endif %} {% if job.status != constant('Arikaim\\Core\\Interfaces\\Job\\JobInterface::STATUS_COMPLETED') %} {% if demo_mode != true %} {% endif %} {% endif %}
{% if job.date_executed is not empty %} {% endif %}
{{ labels.id }} {{ job.uuid }}
{{ labels.name }} {{ job.name }}
{{ labels.status }} {{ component('queue::admin.jobs.status.label',{ status: job.status, class: 'mini basic right floated' }) }}
{{ labels.type }} {% if job.isRecurring() == true %} {{ labels.recurring }} {{ component('queue::admin.interval.label',{ interval: job.recuring_interval }) }} {% elseif job.isScheduled() == true %} {{ labels.scheduled }}
{{ job.schedule_time|dateTimeFormat }}
{% else %} {{ labels.single }} {% endif %} {% if job.due_date is not empty %}
{{ labels.nextrun }}
{{ job.due_date|dateTimeFormat }}
{{ labels.current }}
{{ today()|dateTimeFormat }}
{% endif %}
{{ labels.priority }} {{ job.priority }}
{{ labels.date }} {{ job.date_created|dateTimeFormat }}
{{ labels.executed }} {% if job.executed > 0 %}
{{ job.executed }}
{% endif %}
{{ job.date_executed|dateTimeFormat }}
{{ labels.handler }} {{ job.handler_class }}
{{ labels.extension }} {{ job.extension_name}}
{{ labels.worker }} {{ (job.queue is null) ? labels.all : job.queue }}
{% if config is iterable %} {{ component('queue::admin.jobs.config.view',{ config: config, uuid: job.uuid }) }} {% endif %}