@extends('layouts.app') @section('createRichiesta', 'Richieste') @section('content')
{{-- NOTE RAFFAELE --}} {{-- Per definire il tipo di voltura in base a come viene settato in Apparound ho inserito l'input filed seguente --}}

 Richiesta



@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Note Pratica
@if (Auth::user()->id == $richiesta->actual_user_id && $richiesta->stato_pratica <= 98) @endif
@if ($richiesta->id < 5299 && (Auth::user()->id == $richiesta->ActualUser->id || Auth::user()->users_type_id < 3))
Archivio Note Pratica
{{ count($note) }} Messagi
@foreach ($note as $nota)
image
{{ $nota['nota'] }}
{{ $nota['data'] }}
@endforeach
@endif

{{ $richiesta->tipologiaPratica->nome }}

  • {{ $richiesta->id }}
  • {{ $richiesta->CreatorUser->name }}
  • {{ $richiesta->stato->stato }}
  • {{ $richiesta->ActualUser->name }}
  • {{ date('d-m-Y', strtotime($richiesta->updated_at)) }}
@if (Auth::user()->users_type_id < 3 && ($richiesta->tipologia == 1 || $richiesta->tipologia == 2 || $richiesta->tipologia == 3 || $richiesta->tipologia == 6 || $richiesta->tipologia == 7) && $richiesta->stato_pratica > 1 && $richiesta->stato_pratica < 98) @endif @if (Auth::user()->users_type_id < 3) @endif
Tipo di Cliente
Dati Richiesta


@if ($errors->has('data_decorrenza')) {{ $errors->first('data_decorrenza') }} @endif
@if ($errors->has('data_contratto')) {{ $errors->first('data_contratto') }} @endif
@if ($errors->has('data_contratto')) {{ $errors->first('codice_offerta') }} @endif

@if ($errors->has('Utenza_Fasce_Orarie_di_Fatturazione')) {{ $errors->first('Utenza_Fasce_Orarie_di_Fatturazione') }} @endif
@if ($richiesta->tipologia != 10)

Dati Tecnici
@if ($richiesta->servizio == 'EE')
@elseif($richiesta->servizio == 'G')
@else
@endif
@if ($errors->has('tipo_contratto')) Inserire uso fornitura @endif
@if ($errors->has('modalita_allaccio')) {{ $errors->first('modalita_allaccio') }} @endif
@if ($errors->has('tipologia_allaccio')) {{ $errors->first('tipologia_allaccio') }} @endif
@if ($errors->has('pdp')) {{ $errors->first('pdp') }} @endif
@if ($errors->has('potenza_impianto')) {{ $errors->first('potenza_impianto') }} @endif
@if ($errors->has('potenza_impegnata')) {{ $errors->first('potenza_impegnata') }} @endif
@if ($errors->has('tensione')) {{ $errors->first('tensione') }} @endif
@if ($errors->has('remi')) {{ $errors->first('remi') }} @endif
@if ($errors->has('matricola_contatore')) {{ $errors->first('matricola_contatore') }} @endif
@if ($errors->has('matricola_contatore')) {{ $errors->first('matricola_correttore') }} @endif
{{-- CODICE RAFFAELE --}}
{{-- --}}
{{-- --}}
{{-- FINE CODICE RAFFAELE --}}
@if ($errors->has('consumo_annuo')) {{ $errors->first('consumo_annuo') }} @endif
@if ($errors->has('tel_cod_migrazione')) {{ $errors->first('tel_cod_migrazione') }} @endif
@if ($errors->has('tel_numero_att')) {{ $errors->first('tel_numero_att') }} @endif
Risorse TLC
{{-- FABIO: Aggiungo router\ip statico --}}
{{-- FINE FABIO --}} @foreach ($tlc as $k => $tlcservice)
@if ($tlcservice->servizio == 'connettivita') @elseif($tlcservice->servizio == 'voce') @else @endif
@endforeach
@if ($errors->has('tel_recapito')) {{ $errors->first('tel_recapito') }} @endif
@if ($errors->has('tel_recapito_ref')) {{ $errors->first('tel_recapito_ref') }} @endif
Dati Indirizzo punto di fornitura
@if ($errors->has('indirizzo')) {{ $errors->first('indirizzo') }} @endif
@if ($errors->has('civico')) {{ $errors->first('civico') }} @endif
@if ($errors->has('ext')) {{ $errors->first('ext') }} @endif
@if ($errors->has('provincia')) {{ $errors->first('provincia') }} @endif
@if ($errors->has('cod_zona')) {{ $errors->first('cod_zona') }} @endif
Dati Indirizzo di spedizione
{{-- CORRISPONDENZA DATI --}} {{-- ************************************ --}}
@if ($errors->has('tracking_number')) {{ $errors->first('tracking_number') }} @endif
{{-- TOPONIMO INDIRIZZO CIVICO EXT --}} {{-- ************************************ --}}
@if ($errors->has('indirizzo_spedizione')) {{ $errors->first('indirizzo_spedizione') }} @endif
@if ($errors->has('civico_indirizzo_spedizione')) {{ $errors->first('civico_indirizzo_spedizione') }} @endif
@if ($errors->has('ext_indirizzo_spedizione')) {{ $errors->first('ext_indirizzo_spedizione') }} @endif
{{-- CAP COMUNE PROVINCIA ISTAT --}} {{-- ************************************ --}}
@if ($errors->has('provincia_indirizzo_spedizione')) {{ $errors->first('provincia_indirizzo_spedizione') }} @endif
@if ($errors->has('cod_zona')) {{ $errors->first('istat_indirizzo_spedizione') }} @endif
{{-- TASTO CLONA DATI --}} {{-- ************************************ --}}


@if ($richiesta->tipologia == 17)
@else
Dati Fatturazione
@if ($errors->has('domiciliazione')) {{ $errors->first('domiciliazione') }} @endif
@if ($errors->has('intestatario_iban')) {{ $errors->first('intestatario_iban') }} @endif
@if ($errors->has('codice_fiscale_iban')) {{ $errors->first('codice_fiscale_iban') }} @endif
Altro recapito di corrispondenza


Documentazione @if (Auth::user()->id == $richiesta->actual_user_id)
@if (Session::has('message'))

{{ Session::get('message') }}

@endif
Seleziona file cambia Cancella
@endif


@if (Auth::user()->users_type_id < 3)
Note aggiuntive operatore
@else @endif @if ($richiesta->stato_pratica != 99 && $richiesta->stato_pratica != 100 && $richiesta->stato_pratica != 96) @if (Auth::user()->users_type_id < 3)
Stato pratica
@if (Auth::user()->users_type_id < 3 && Auth::user()->id != $richiesta->actual_user_id) @else @endif
@if ($richiesta->actual_user_id == Auth::user()->id)
@endif


@endif @if (Auth::user()->users_type_id < 3) @endif @if ( (Auth::user()->users_type_id < 3 && Auth::user()->id == $richiesta->actual_user_id && $richiesta->stato_pratica != 98 && $richiesta->stato_pratica != 96 && $richiesta->stato_pratica != 97) || (Auth::user()->id == 73 && Auth::user()->id == $richiesta->actual_user_id && $richiesta->stato_pratica != 98 && $richiesta->stato_pratica != 97 && $richiesta->stato_pratica <= 99))
@endif @if (Auth::user()->id == $richiesta->actual_user_id && $richiesta->stato_pratica == 3 && Auth::user()->users_type_id > 3)
@endif @if (Auth::user()->users_type_id >= 3 && ($richiesta->stato_pratica == 98 || $richiesta->stato_pratica == 97) && (Auth::user()->id == $richiesta['createdBy_user_id'] || Auth::user()->id == $richiesta->actual_user_id))
@endif @if (Auth::user()->users_type_id >= 3 && $richiesta->stato_pratica == 1 && (Auth::user()->id == $richiesta['createdBy_user_id'] || Auth::user()->id == $richiesta->actual_user_id))
@endif @if (Auth::user()->users_type_id < 3 && ($richiesta->stato_pratica == 98 || $richiesta->stato_pratica == 97) && (Auth::user()->id == $richiesta['createdBy_user_id'] || Auth::user()->id == $richiesta->actual_user_id))
@endif @if (Auth::user()->users_type_id < 3 && Auth::user()->id != $richiesta->actual_user_id && $richiesta->stato_pratica < 98)
@endif @endif
@component('components.richieste_modal') @slot('title') {{ 'aggiungi_esito' }} @endslot @slot('action') {{ '' }} @endslot @slot('body')

Scrivi il motivo del ko

@endslot @endcomponent @endsection @section('scripts') @endsection