@include('schedule::delete-modal')
{{ Helpers::buildHeader() }}
{{ Helpers::buildFilter() }}
@if ($schedules->isEmpty())
{{ trans('schedule::schedule.messages.no-records-found') }} |
@else
@foreach($schedules as $schedule)
{{ $schedule->command }}@if ($schedule->command == 'custom')
: {{ $schedule->command_custom }} @endif |
@if(isset($schedule->params))
@foreach($schedule->params as $param => $value)
@if(isset($value['value']))
{{ $param }}
={{ $value['value'] }}{{ $value['type'] === 'function' ? '()' : ''}}
@endif
@endforeach
@endif
|
@if(isset($schedule->options))
@foreach($schedule->options as $option => $value)
@if(!is_array($value) || isset($value['value']))
@if(is_array($value))
--{{ $option }}
={{ $value['value'] }}{{ $value['type'] === 'function' ? '()' : ''}}
@else
--{{ $option }}
@endif
@endif
@endforeach
@endif
|
{{ $schedule->expression }} |
@if(config('database-schedule.enable_groups', false))
{{ $schedule->groups }} |
@endif
{{ $schedule->environments }} |
{{ $schedule->created_at }} |
{{ $schedule->created_at == $schedule->updated_at ? trans('schedule::schedule.fields.never') : $schedule->updated_at }} |
{{ $schedule->status ? trans('schedule::schedule.status.active') : trans('schedule::schedule.status.inactive') }}
{{ $schedule->deleted_at ? (', ' . trans('schedule::schedule.status.trashed')) : '' }}
|
@if ($schedule->deleted_at)
@else
@endif
|
@endforeach
@endif
{{ $schedules->links() }}