@extends('master') @section('head') @stop @section('body') Toggle navigation {{-- Per our license, please do not remove or modify this link. --}} @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 (false && Utils::isAdmin()) @section('self-updater') @show @endif @foreach ([ 'dashboard' => false, 'clients' => false, 'credits' => false, 'tasks' => false, 'expenses' => false, 'vendors' => false, 'quotes' => false, 'invoices' => false, 'recurring_invoices' => 'recurring', 'payments' => false, 'settings' => false, ] as $key => $value) {!! Form::nav_link($key, $value ?: $key) !!} @endforeach
{{ trans('texts.white_label_text', ['price' => WHITE_LABEL_PRICE])}}
{!! trans('texts.reseller_text', ['email' => HTML::mailto('contact@invoiceninja.com')]) !!}
{{ trans('texts.erase_data') }}