@extends('layouts.master') @section('title') {{ trans_choice('general.campaign',2) }} @endsection @section('content')

{{ trans_choice('general.campaign',2) }}

@if(Sentinel::hasAccess('communication.create')) {{ trans_choice('general.add',1) }} {{ trans_choice('general.campaign',1) }} @endif
@foreach($data as $key) @endforeach
{{ trans_choice('general.name',1) }} {{ trans_choice('general.type',1) }} {{ trans_choice('general.message',2) }} {{ trans_choice('general.created_by',1) }} {{ trans_choice('general.campaign',1) }} {{ trans_choice('general.type',1) }} {{ trans_choice('general.status',1) }} {{ trans_choice('general.date',1) }} {{ trans_choice('general.action',1) }}
{{ $key->name }} @if($key->type=="sms") {{ trans_choice('general.sms',1) }} @endif @if($key->type=="email") {{ trans_choice('general.email',1) }} @endif {{ \App\Helpers\GeneralHelper::limit_text(strip_tags($key->message),4) }} @if(!empty($key->created_by)) {{$key->created_by->first_name}} {{$key->created_by->last_name}} @endif @if($key->recurrence_type=="none") {{ trans_choice('general.direct',1) }} @endif @if($key->recurrence_type=="schedule") {{ trans_choice('general.schedule',1) }} @endif @if($key->status=="pending") {{ trans_choice('general.pending',1) }} @endif @if($key->status=="active") {{ trans_choice('general.active',1) }} @endif @if($key->status=="declined") {{ trans_choice('general.declined',1) }} @endif @if($key->status=="inactive") {{ trans_choice('general.inactive',1) }} @endif {{ $key->created_at }}
@endsection @section('footer-scripts') @endsection