private function showCompanyDetails()
{
// check that logo is less than the max file size
$account = Auth::user()->account;
if ($account->isLogoTooLarge()) {
Session::flash('warning', trans('texts.logo_too_large', ['size' => $account->getLogoSize() . 'KB']));
}
$data = ['account' => Account::with('users')->findOrFail(Auth::user()->account_id), 'sizes' => Cache::get('sizes'), 'title' => trans('texts.company_details')];
return View::make('accounts.details', $data);
}