@extends('layouts.admin.theme') @section("title", env("APP_NAME") . " :: Endereço da Empresa de Turismo") @section('content') @php $filterParams = \App\Http\Resources\TurisAngra\EmpresasDeTurismo\EmpresaTurismoResource::listFilterParamsFromRequest(request()); @endphp
@php $headLine = " Endereço da Empresa de Turismo"; @endphp @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __($headLine), 'routeBack' => 'admin.empresasDeTurismo.index', 'routeBackParams' => $filterParams, 'nameBack' => __("Voltar"), "permission" => "GERENCIADOR_DE_EMPRESAS_DE_TURISMO", ])
@include('admin.turisAngra.empresasDeTurismo.sections._filterHidden', ['filterParams' => $filterParams]) @include("errors.messageFlash") @csrf @method('post')

{{ $empresa->razaoSocial ?? '-' }}
{{ __("CNPJ: ") . ($empresa->cnpj ?? '-') }}


@include('components.inputs._inputType',[ "for" => null, "label" => "CEP", "name" => "cep", "id" => "zipCode", "required" => true, "type" => null, "old" => old('cep', $endereco->cep), "oninput" => "javascript:aplicarMascaraCEP(this)", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Logradouro", "name" => "logradouro", "id" => "street", "required" => true, "type" => null, "old" => old('logradouro', $endereco->logradouro), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Número", "name" => "numero", "id" => "numero", "required" => false, "type" => null, "old" => old('numero', $endereco->numero), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Complemento", "name" => "complemento", "id" => "complemento", "required" => false, "type" => null, "old" => old('complemento', $endereco->complemento), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Cidade", "name" => "cidade", "id" => "city", "required" => true, "type" => null, "old" => old('cidade', $endereco->cidade), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Bairro", "name" => "bairro", "id" => "neighborhood", "required" => true, "type" => null, "old" => old('bairro', $endereco->bairro), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "UF", "name" => "uf", "id" => "state", "required" => true, "type" => null, "old" => old('uf', $endereco->uf), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, "listName" => "estadosBrasileiros", "arrayList" => [ 'AC', 'AL', 'AM', 'AP', 'BA', 'CE', 'DF', 'ES', 'GO', 'MA', 'MG', 'MS', 'MT', 'PA', 'PB', 'PE', 'PI', 'PR', 'RJ', 'RN', 'RO', 'RR', 'RS', 'SC', 'SE', 'SP', 'TO' ], ])
@include('components.modal._mapModal',[ "label" => "Clique no mapa e escolha um determinado ponto", ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Latitude", "name" => "latitude", "id" => null, "required" => true, "type" => null, "old" => old('latitude', $endereco->latitude), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Longitude", "name" => "longitude", "id" => null, "required" => true, "type" => null, "old" => old('longitude', $endereco->longitude), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Comprovante de endereço", "name" => "comprovante", "id" => null, "required" => false, "type" => 'file', "old" => null, "oninput" => null, "readonly" => true, "small" => null, "accept" => 'image/jpeg,image/jpg,image/png,image/gif,.pdf', ])
@include('components.buttons._backAndSend', [ 'textBack' => 'Voltar', 'textSend' => 'Atualizar', 'routeBack' => 'admin.empresasDeTurismo.index' ] )
@endsection