@extends('layouts.app') @section('title', 'Dashboard | ') @section('content')

{{ Techsaga::welcomeGreeting()}}!, {{ ucwords(Auth::user()->first_name.' '.Auth::user()->last_name) }}

Latest Activity

@if(count($projects_activity) > 0) @foreach($projects_activity as $item)

{{$item->name}}

@if( count(Techsaga::getLatestPost($item->id))>0) @foreach(Techsaga::getLatestPost($item->id) as $post)

{{$post->name}}

Posted By : {{$post->first_name.' '.$post->last_name}}

Posted By : {{date('d-m-Y, h:i A',strtotime($post->created_at))}}

@endforeach @endif
@endforeach @endif

Your Task - Today

@if(count($emp_today_task) > 0) @foreach($emp_today_task as $item)

{{$item->name}}

Due Date: {{date('d-m-Y',strtotime($item->end_date))}}
@endforeach @else

Task is not assigned for today.

@endif

Upcoming Task

@if(count($emp_upcoming_task) > 0) @foreach($emp_upcoming_task as $item)

{{$item->name}}

Due Date: {{date('d-m-Y',strtotime($item->end_date))}}
@endforeach @endif
Projects

{{$emp_tot_task}}

Total Tasks

{{$emp_pending_tot_task}}

Pending Tasks

{{$projectCount}}

Total Projects

Important Notice
Your Leave

0

Leave Taken

12

Remaining

Upcoming Holiday

{{Techsaga::getNextHoliday()}}

@endsection