@extends('layouts.private') @section('content') @section('breadcrumb')
@endsection
@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($message = Session::get('success'))

{{ $message }}

@endif {!! Form::open(array('route' => 'updateCompanySettings','enctype' => 'multipart/form-data', 'method'=>'POST')) !!}
{!! Form::text('name', $tenant->name, array('placeholder' => 'Company Name','class' => 'form-control')) !!}

{!! Form::file('company_logo', array('placeholder' => 'logo','id' => 'company_logo')) !!}
@if($tenant->company_logo && file_exists(public_path('/companylogo/'.$tenant->company_logo)))

×
@endif
@php $previousUrl = ''; if(url()->previous() && url()->previous() != route('companySettings')){ $previousUrl =url()->previous(); }else{ $previousUrl = route('home'); } @endphp
Cancel
{!! Form::close() !!}
@endsection