@extends('layouts.app') @section('meta') @endsection @section('content')
Dashboard - Subscriptions
@if (session('status')) @endif @if (session()->has('message'))
{!! session()->get('message') !!}
@endif {{--

Add Advertisement


--}} {{--below is the check to see if records exist--}} @if($subs->count() > 0) {{--the table below will house all the current added projects and teh available action options--}}
@foreach($subs as $sub) {{----}} {{-- --}} {{----}} @endforeach
ID Email Status Subscribed Since
{{$sub->id}} {{$sub->email}}{{$ad->ad_image}}{!! '' !!} @if($sub->subscription_status == 1) Subscribed @else Un-subscribed @endif {{$sub->created_at}}
{{csrf_field()}} {{method_field('DELETE')}}
{{$subs->links()}} {!! link_to_route('subscriptions.excel', 'Export to Excel', null, ['class' => 'btn btn-info']) !!}
@else

There are no existing subscriptions in db

@endif
@endsection