@extends('layouts.super-admin') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('app.update') @lang('app.company') [ {{$company->company_name}} ] @php($class = ($company->status == 'active') ? 'label-custom' : 'label-danger') {{ucfirst($company->status)}}
{!! Form::open(['id'=>'updateCompany','class'=>'ajax-form','method'=>'PUT', 'enctype' => 'multipart/form-data']) !!}
@if(module_enabled('Subdomain'))
.{{ get_domain() }}
@endif
@lang('app.selectImage') @lang('app.change') @lang('app.remove')
@if(isset($fields)) @foreach($fields as $field)
@if( $field->type == 'text') @elseif($field->type == 'password') @elseif($field->type == 'number') @elseif($field->type == 'textarea') @elseif($field->type == 'radio')
@foreach($field->values as $key=>$value) @endforeach
@elseif($field->type == 'select') {!! Form::select('custom_fields_data['.$field->name.'_'.$field->id.']', $field->values, isset($company)?$company->custom_fields_data['field_'.$field->id]:'',['class' => 'form-control gender']) !!} @elseif($field->type == 'checkbox')
@foreach($field->values as $key => $value) @endforeach
@elseif($field->type == 'date') @endif
@endforeach @endif
@if(($companyUser))

@lang('app.admin') @lang('modules.company.accountSetup')


@lang('modules.employees.updateAdminPasswordNote')
@endif
@lang('app.back')
{!! Form::close() !!}
@endsection @push('footer-script') @endpush