@extends('layouts.admin') @section('pageTitle') Edit Campaign @endsection @section('breadcrumb') @endsection @section('content')
@if (session('status')) @endif @if($errors->any()) {!! implode('', $errors->all('
:message
')) !!} @endif
@csrf @method('PUT') {{--
--}}
@php $selected_template_type = 'text'; @endphp
{{--
--}}
@if ($campaign->status=='APPROVED')
{{-- --}} Cancel

Only contacts and schedule date can be changed for approved templates.
@elseif($campaign->status=='REJECTED')
Cancel

This template is rejected, please modify category, text or media to sent for approval again.
@elseif($campaign->status=='PENDING')
Cancel

Only contacts and schedule date can be changed for pending templates. This template is waiting for approval.
@endif
@endsection @section('script') @endsection