@extends('admin/admin') @section('content')
{{{ isset($category_details->id) ? 'Update' : 'Create' }}} Campaign
@if (session()->has('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach

@endif
@csrf
@if(isset($user_role) && ($user_role==1))
campaign_type) ? $category_details->campaign_type == "Global" ? 'checked="checked"' : '' : 'checked="checked"' }}} > Global campaign_type) ? $category_details->campaign_type == "Manual" ? 'checked="checked"' : '' : '' }}}> Local
campaign_type) && ($category_details->campaign_type == "Manual")) ? '' : 'style=display:none' }}}>
@endif @if(isset($category_details->id))
@else
@endif
@endsection @section('footer-scripts') @parent @endsection