@extends('_layout.layout') @section('title') Notifications @endsection @section('modals') @include('_layout.partials.deletemodal') @endsection @section('header')

{{$company->name}} Notifications and notifications groups

@endsection @section('content')
Notifications
@foreach($newsletters as $newsletter) @endforeach
Message Sent email Sent push notification Selected customers Date Actions
@if (strlen($newsletter->message)<50) {{$newsletter->message}} @else {{substr($newsletter->message,0,50).' ...'}} @endif @if ($newsletter->email) Yes @else No @endif @if ($newsletter->notification) Yes @else No @endif {{$newsletter->total}} {{$newsletter->created_at}} Details
Notification groups
@foreach($newsletterGroups as $group) @endforeach
Name Actions
{{$group->description}} Edit {{ Form::open(['route' => ['deleteNewsletterGroup',$group->id],'class' => 'form-inline inline deleteItemForm', 'id' => 'deleteItemForm'.$group->id, 'data-item-id' => $group->id, 'data-item-data' => $group->description ]) }} {{Form::hidden('_method','DELETE')}}
@endsection @section('page-script') @endsection