@extends('layouts.app') @section('content') @if (\Session::has('paypal_success'))
{{ \Session::get('paypal_success') }}

@endif @php $currency = currency(); $date_format = get_company_option('date_format','Y-m-d'); @endphp
{{ _lang('Total Current Month Sale Credit') }}

{{ decimalPlace($total_current_month_sale_credit, $currency) }}

{{ _lang('Total Current Month Sale Refund') }}

{{ decimalPlace($total_current_month_sale_refund, $currency) }}

{{ _lang('Total Current Month Sale Dispute') }}

{{ decimalPlace($total_current_month_sale_dispute, $currency) }}

{{ _lang('Total Current Month Gross Income') }}

{{ decimalPlace($total_current_month_sale, $currency) }}

@if(Auth::user()->role_id == 8)

Reminders

@foreach($reminders as $key => $value) @php $today = \Carbon\Carbon::now(); $td = $today->format('Y-m-d'); $re_date = date("Y-m-d", strtotime($value->date) ); @endphp @endforeach
Client Email Phone Note View
{{ client_phone($value->lead_id) }} {{ $value->description }}
@endif @if(Auth::user()->role_id == 18 || Auth::user()->role_id == 19 || Auth::user()->role_id == 20 || Auth::user()->role_id == 21 || Auth::user()->role_id == 22 || Auth::user()->role_id == 23)

{{ _lang('Recent Tasks') }}

@foreach(Auth::user()->tasks->take(10) as $task) @endforeach
{{ _lang('Name') }} {{ _lang('Priority') }} {{ _lang('Status') }} {{ _lang('Deadline') }} {{ _lang('Action') }}
{{ $task->title }} {!! clean(task_priority($task->priority)) !!} {{ $task->status->title }} {{ date($date_format,strtotime($task->end_date)) }}
{{ csrf_field() }}
@endif
@if(Auth::user()->role_id == 8)

{{ _lang('Hot Prospect') }}

@foreach($leads as $key => $lead) @endforeach
{{ _lang('Name') }} {{ _lang('Email') }} {{ _lang('Phone') }} {{ _lang('Action') }}
{{ $lead->name }} {{ $lead->email }} {{ $lead->phone }}
{{ csrf_field() }}

Employee of the month

@if($user == 'no') @else @foreach($user as $key => $value) @endforeach @endif
Name Email Score
No record found!
{{ round($percentage) }}%
@endif
@endsection @section('js-script') @endsection