@extends('layouts.admin') @section('title', trans('general.title.edit', ['type' => trans_choice('general.companies', 1)])) @section('content')
{!! Form::model($company, [ 'id' => 'company', 'method' => 'PATCH', 'route' => ['companies.update', $company->id], '@submit.prevent' => 'onSubmit', '@keydown' => 'form.errors.clear($event.target.name)', 'files' => true, 'role' => 'form', 'class' => 'form-loading-button', 'novalidate' => true ]) !!}
{{ Form::textGroup('name', trans('general.name'), 'building') }} {{ Form::emailGroup('email', trans('general.email'), 'envelope') }} {{ Form::selectGroup('currency', trans_choice('general.currencies', 1), 'exchange-alt', $currencies, $company->currency) }} {{ Form::textGroup('domain', trans('companies.domain'), 'globe', []) }} {{ Form::textareaGroup('address', trans('general.address')) }} {{ Form::fileGroup('logo', trans('companies.logo')) }} {{ Form::radioGroup('enabled', trans('general.enabled'), $company->enabled) }}
@permission('update-common-companies') @endpermission {!! Form::close() !!}
@endsection @push('scripts_start') @endpush