@extends('core::layouts.master') @section('title') {{ trans_choice('communication::general.campaign',2) }} @endsection @section('styles') @stop @section('content')

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

@foreach($data as $key) @endforeach
{{ trans_choice('core::general.name',1) }} {{ trans_choice('core::general.type',1) }} {{ trans_choice('core::general.created_by',1) }} {{ trans_choice('communication::general.campaign',1) }} {{ trans_choice('core::general.type',1) }} {{ trans_choice('core::general.status',1) }} {{ trans_choice('core::general.action',1) }}
{{$key->name}} @if($key->campaign_type == 'sms') {{trans_choice('communication::general.sms', 1)}} @endif @if($key->campaign_type == 'email') {{trans_choice('communication::general.email', 1)}} @endif {{$key->created_by}} @if($key->trigger_type == 'direct') {{trans_choice('communication::general.direct', 1)}} @endif @if($key->trigger_type == 'schedule') {{trans_choice('communication::general.schedule', 1)}} @endif @if($key->trigger_type == 'triggered') {{trans_choice('communication::general.triggered', 1)}} @endif @if($key->status == 'pending') {{trans_choice('communication::general.pending', 1)}} @endif @if($key->status == 'active') {{trans_choice('communication::general.active', 1)}} @endif @if($key->status == 'inactive') {{trans_choice('communication::general.inactive', 1)}} @endif @if($key->status == 'closed') {{trans_choice('communication::general.closed', 1)}} @endif @if($key->status == 'done') {{trans_choice('communication::general.done', 1)}} @endif
@endsection @section('scripts') @endsection