{{-- Name: Home.index.blade Author: JH2 Created: 2015-04-24 Description: This is the dashboard. Updated by: Description: --}} @extends('app') @section('_pageTitle', trans('home.index.pageTitle', ['name' => Auth::user()->fullname()])) @section('header-title', trans('home.index.pageTitle', ['name' => (strlen(Auth::user()->fullname()) > 2) ? Auth::user()->fullname() : Auth::user()->username])) @section('main-left') {{-- @include('notice.partials.list', [ 'content_id' => 'notice_list_12314', 'header_title' => Lang::get('notice.notices'), 'event' => [ 'counter' => count(Auth::user()->company->unreadNotices()), 'text' => Lang::choice('notice.new_notice', count(Auth::user()->company->unreadNotices())), ], 'data' => Auth::user()->company->unreadNotices()->take(5), 'manual' => [ 'chapter' => 'NOTICE', 'section' => 'NOTICE_DASH', ], 'filter' => false, ]) --}} @include('home.partials.list', [ 'content_id' => 'home_sendout_list_1251', 'header_title' => Lang::get('sendout.sendout_overview'), 'data_sendouts' => Auth::user()->company->sendouts()->where('start_time', '<=', \Carbon\Carbon::now()->addWeek())->limit(5)->orderBy('start_time', 'DESC')->get(), 'manual' => [ 'chapter' => 'SENDOUT', 'section' => 'SENDOUT_DASH', ], ]) @stop @section('main-right') @include('partials.stats', [ 'content_id' => 'company_summary_125412', 'header_title' => Lang::get('company.sumstats'), 'manual' => [ 'chapter' => 'COMPANY', 'section' => 'COMPANY_MONSTATS', ], ]) @stop @section('footer-script') @stop