@extends('admin::layouts.master') @php $pageTitle = 'جزئیات اتوماسیون'; @endphp @section('title', 'جزئیات اتوماسیون') @section('content') @php // داده فیک برای نمایش جزئیات $automation = (object)[ 'id'=>1, 'name'=>'پست هفتگی اینستاگرام', 'type'=>'instagram', 'status'=>'active', 'description'=>'این اتوماسیون هر هفته یک پست در اکانت اینستاگرام منتشر میکند. محتوا به صورت خودکار از بانک محتوایی انتخاب شده و در زمان مشخص شده پست میشود.', 'last_run'=>\Carbon\Carbon::now()->subDays(1), 'next_run'=>\Carbon\Carbon::now()->addDays(6), 'total_runs'=>12, 'success'=>12, 'failed'=>0, 'created_at'=>\Carbon\Carbon::now()->subMonths(2), 'config'=>[ 'schedule'=>'0 9 * * 1', // every monday 9:00 'account'=>'@my_instagram_account', 'hashtags'=>'#طراحی #گرافیک #ایران', 'post_type'=>'image', 'auto_caption'=>true, 'timezone'=>'Asia/Tehran' ] ]; @endphp
{{ $automation->description }}
هر دوشنبه ساعت ۹:۰۰ صبح
{{ $automation->config['schedule'] }}
{{ $automation->config['account'] }}
عکس
{{ $automation->config['hashtags'] }}
موفق
ناموفق
{{ $automation->last_run->format('d M Y') }}
{{ $automation->last_run->format('H:i') }}{{ $automation->next_run->format('d M Y') }}
{{ $automation->next_run->format('H:i') }} ({{ $automation->next_run->diffForHumans() }})اتوماسیون در حال اجرا است
@elseif($automation->status=='inactive')اتوماسیون متوقف شده
@elseاتوماسیون با مشکل مواجه شده
@endif