@extends('admin.layout.master') @section('content')
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if (Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }} ×

@endif @endforeach

Dashboard

@if(!empty($WidgetData))
Last updated at {{ date('g:i A',strtotime($lastupdatedate->update_at)) }}
@endif
@foreach ($widgetDataOrder as $wo) @foreach ($WidgetData as $w) @if ($wo == $w->id) @if ($w->type == 1)

0

{{ $w->widgets_name }}

More info
@elseif($w->type == 2)

0($0)

{{ $w->widgets_name }}

More info
@else

$0

0%

0
0%

{{ $w->widgets_name }}

More info
@endif @endif @endforeach @endforeach
@if(auth()->check() && auth()->guard('admin')->user()->id != '45' && !empty($WidgetData))
@endif @if(auth()->guard('admin')->user()->is_task_permission == 1)
@if(!empty($admin_sales_rep_id))

My Tasks

@else

Tasks

@endif
@if(!$customer_task->isEmpty()) @foreach ($customer_task as $task) @endforeach @else @endif
Customer ID Customer Name Business Contacts Business Group Lifetime # Lifetime $ Activity Completed
{{ str_pad($task->Customer_ID, 6, '0', STR_PAD_LEFT) }} {{ !empty($task->Customer_Name) ? $task->Customer_Name : "-" }} {{ !empty($task->Business) ? $task->Business : "-" }} {{ !empty($task->Contacts) ? $task->Contacts : "-" }} {{ !empty($task->Business_Group) ? $task->Business_Group : "-" }} {{ !empty($task->Lifetime_order) ? $task->Lifetime_order : 0 }} {{ !empty($task->Lifetime_price) ? $task->Lifetime_price : 0 }} {{ !empty($task->Activity) ? $task->Activity : "-" }} @if ($task->is_completed == 0) @else View @endif
No Task History Found....
@endif
@endsection