@extends('master') @section('head') @stop @section('body') Toggle navigation {{-- Per our license, please do not remove or modify this link. --}} {!! Form::nav_link('dashboard', 'dashboard') !!} {!! Form::menu_link('client') !!} {!! Form::menu_link('task') !!} {!! Form::menu_link('expense') !!} {!! Form::menu_link('invoice') !!} {!! Form::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', 'style' => 'max-width:100px;;overflow:hidden'))->small() !!} @elseif (Utils::isNinjaProd() && (!Auth::user()->isPro() || Auth::user()->isTrial())) {!! Button::success(trans('texts.plan_upgrade'))->asLinkTo(url('/settings/account_management?upgrade=true'))->withAttributes(array('style' => 'max-width:100px;overflow:hidden'))->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_url' => isset($item->logo_url) ? $item->logo_url : "", '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_url' => isset($item->logo_url) ? $item->logo_url : "", 'selected' => false, ]) @endif @endforeach @else @include('user_account', [ 'account_name' => Auth::user()->account->name ?: trans('texts.untitled'), 'user_name' => Auth::user()->getDisplayName(), 'logo_url' => Auth::user()->account->getLogoURL(), 'selected' => true, ]) @endif @if (Utils::isAdmin()) @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 @endif {!! link_to('#', trans('texts.logout'), array('onclick'=>'logout()')) !!} @if (Utils::isAdmin()) @foreach (\App\Models\Account::$basicSettings as $setting) {!! link_to('settings/' . $setting, uctrans("texts.{$setting}")) !!} @endforeach {!! uctrans('texts.advanced_settings') . Utils::getProLabel(ACCOUNT_ADVANCED_SETTINGS) !!} @else @endif @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')}}