@extends('layouts.user') @section('title') {{trans('dashboard.dashboard')}} @stop @section('styles') @stop @section('content')

{{trans('dashboard.actlog')}}

view all
@foreach($activity as $activities) @if($activities['type'] == 'event')
user
{{$activities['user']}} {{$activities['time_diff']}}
@if($activities['status'] == 'created')

Created Event for {{$activities['client']}} {{$activities['event_type']}}

@else

Updated Event, {{$activities['key']}} to {{$activities['new_value']}} for {{$activities['client']}}'s {{$activities['event_type']}}

@endif

Venue - {{$activities['location']}}

@if(Sentinel::getUser()->hasAccess(['event.read']) || Sentinel::inRole('admin'))

View

@endif
@else
user
{{$activities['user']}} {{$activities['time_diff']}}
@if($activities['status'] == 'created')

Created new lead for {{$activities['client']}} {{$activities['event_type']}}

@else

Updated Lead, {{$activities['key']}} to {{$activities['new_value']}} for {{$activities['client']}}'s {{$activities['event_type']}}

@endif @if($activities['priority'] == 'Open')

Open @if(Sentinel::getUser()->hasAccess(['leads.read']) || Sentinel::inRole('admin')) View @endif

@elseif($activities['priority'] == 'Approached')

Approached @if(Sentinel::getUser()->hasAccess(['leads.read']) || Sentinel::inRole('admin')) View @endif

@elseif($activities['priority'] == 'Converted')

Converted @if(Sentinel::getUser()->hasAccess(['leads.read']) || Sentinel::inRole('admin')) View @endif

@else

Do Not Contact @if(Sentinel::getUser()->hasAccess(['leads.read']) || Sentinel::inRole('admin')) View @endif

@endif
@endif @endforeach

{{trans('dashboard.new')}} {{trans('dashboard.leads')}}

@foreach($today_leads as $leads) @endforeach
Creation Date Client Name Agent Name Event Priority
{{date((Settings::get('date_format') != '' ? Settings::get('date_format') : 'D d,M Y'),strtotime($leads->created_at))}} {{$leads->client_name}} {{$leads->salesPerson->first_name}} {{$leads->salesPerson->last_name}} {{$leads->eventTypeTrashed->name}} {{$leads->priority}} @if(Sentinel::getUser()->hasAccess(['leads.write']) || Sentinel::inRole('admin')) id."/edit")}}" title="Edit"> @endif @if(Sentinel::getUser()->hasAccess(['leads.read']) || Sentinel::inRole('admin')) id."/show")}}" class=""> @endif
@foreach($today_event as $event) {{----}} @endforeach
Event Date Client Name Event name Location Owner
{{date((Settings::get('date_format') != '' ? Settings::get('date_format') : 'D d,M Y'),strtotime($event->booking->from_date))}} {{$event->booking->booking_name}} {{$final_name}}Image{{$event->booking->location->name}} {{$event->owner_trashed->first_name .' '. $event->owner_trashed->last_name}} @if(Sentinel::getUser()->hasAccess(['event.write']) || Sentinel::inRole('admin')) id."/edit")}}" title="Edit"> @endif @if(Sentinel::getUser()->hasAccess(['event.read']) || Sentinel::inRole('admin')) id."/show")}}" class=""> @endif
{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}
@stop @section('scripts') @stop