@extends('master') @section('head') @stop @section('body') Toggle navigation {!! HTML::nav_link('dashboard', 'dashboard') !!} {!! HTML::menu_link('client') !!} {!! HTML::menu_link('task') !!} {!! HTML::menu_link('invoice') !!} {!! HTML::menu_link('payment') !!} @if (Auth::check()) @if (!Auth::user()->registered) {!! Button::success(trans('texts.sign_up'))->withAttributes(array('id' => 'signUpButton', 'data-toggle'=>'modal', 'data-target'=>'#signUpModal'))->small() !!} @elseif (!Auth::user()->isPro()) {!! Button::success(trans('texts.go_pro'))->withAttributes(array('id' => 'proPlanButton', 'onclick' => 'showProPlan("")'))->small() !!} @endif @endif @if (session(SESSION_USER_ACCOUNTS) && count(session(SESSION_USER_ACCOUNTS))) {{ Auth::user()->account->getDisplayName() }} @else {{ Auth::user()->getDisplayName() }} @endif @if (session(SESSION_USER_ACCOUNTS)) @foreach (session(SESSION_USER_ACCOUNTS) as $item) @if ($item->user_id == Auth::user()->id) @include('user_account', [ 'user_account_id' => $item->id, 'user_id' => $item->user_id, 'account_name' => $item->account_name, 'user_name' => $item->user_name, 'logo_path' => isset($item->logo_path) ? $item->logo_path : "", 'selected' => true, ]) @endif @endforeach @foreach (session(SESSION_USER_ACCOUNTS) as $item) @if ($item->user_id != Auth::user()->id) @include('user_account', [ 'user_account_id' => $item->id, 'user_id' => $item->user_id, 'account_name' => $item->account_name, 'user_name' => $item->user_name, 'logo_path' => isset($item->logo_path) ? $item->logo_path : "", 'selected' => false, ]) @endif @endforeach @else @include('user_account', [ 'account_name' => Auth::user()->account->name ?: trans('texts.untitled'), 'user_name' => Auth::user()->getDisplayName(), 'logo_path' => Auth::user()->account->getLogoPath(), 'selected' => true, ]) @endif @if (count(session(SESSION_USER_ACCOUNTS)) > 1) {!! link_to('/manage_companies', trans('texts.manage_companies')) !!} @elseif (!session(SESSION_USER_ACCOUNTS) || count(session(SESSION_USER_ACCOUNTS)) < 5) {!! link_to('/login?new_company=true', trans('texts.add_company')) !!} @endif {!! link_to('#', trans('texts.logout'), array('onclick'=>'logout()')) !!} @foreach (\App\Models\Account::$basicSettings as $setting) {!! link_to('settings/' . $setting, uctrans("texts.{$setting}")) !!} @endforeach {!! uctrans('texts.advanced_settings') . Utils::getProLabel(ACCOUNT_ADVANCED_SETTINGS) !!} @if (count(Session::get(RECENTLY_VIEWED)) == 0) {{ trans('texts.no_items') }} @else @foreach (Session::get(RECENTLY_VIEWED) as $link) @if (property_exists($link, 'accountId') && $link->accountId == Auth::user()->account_id) {{ $link->name }} @endif @endforeach @endif
{{ trans('texts.erase_data') }}
{{ trans('texts.white_label_text')}}