403Webshell
Server IP : 46.62.235.243  /  Your IP : 216.73.216.217
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/linkabili/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/linkabili/storage/framework/views/9dc649ddae31e2dfe30ee76266084f6131f3ae8e.php
<div class="row">
    <div class="col-12">
        <div class="row">
            <div class="col-12">
                <div class="form-group">
                    <div id="image_preview_loader" class="hidden">
                        <div class="sk-chase">
                            <div class="sk-chase-dot"></div>
                            <div class="sk-chase-dot"></div>
                            <div class="sk-chase-dot"></div>
                            <div class="sk-chase-dot"></div>
                            <div class="sk-chase-dot"></div>
                            <div class="sk-chase-dot"></div>
                        </div>
                    </div>
                    <?php if(!empty($user->path_url)): ?>
                        <img class="img img-responsive img-main" id="img_path_preview" src="/upload/<?php echo e($user->path_url); ?>">
                    <?php else: ?>
                        <img class="img img-responsive img-main" id="img_path_preview" src="https://via.placeholder.com/390.png">
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-12">


                <!-- esterna alla form: formProducts -->

                <span class="btn btn-primary btn-rounded btn-floating" onClick="$('#file_image').trigger('click');">
                    Carica Immagine
                </span>

            </div>
        </div>
    </div>
    <div class="col-12">
        <div class="row">
            <input type="hidden" name="path_url" id="path_url" value="<?php echo e($user->path_url ?? ''); ?>" />
            <div class="col-lg-6">
                <div class="form-group">
                    <label for="name" class="col-md-12 col-form-label ">Nome</label>
                    <input type="text" class="form-control <?php echo e($errors->has('name') ? ' is-invalid' : ''); ?>" name="name"
                           value="<?php echo e($user->name ?? ''); ?>">
                    <?php if($errors->name): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('name')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="form-group">
                    <label for="name" class="col-md-12 col-form-label "><?php echo e(__('Cognome')); ?></label>
                    <input type="text" class="form-control<?php echo e($errors->has('surname') ? ' is-invalid' : ''); ?>"
                           name="surname" value="<?php echo e($user->surname ?? ''); ?>">

                    <?php if($errors->surname): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('surname')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="form-group">
                    <label for="email" class="col-md-12 col-form-label "><?php echo e(__('Indirizzo E-mail')); ?></label>
                    <input type="email" class="form-control<?php echo e($errors->has('email') ? ' is-invalid' : ''); ?>"
                           name="email" readonly="" value="<?php echo e($user->email ?? ''); ?>">
                    <?php if($errors->email): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('email')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="form-group">
                    <label for="fiscal_code" class="col-md-12 col-form-label "><?php echo e(__('Codice Fiscale')); ?></label>
                    <input type="text" class="form-control<?php echo e($errors->has('fiscal_code') ? ' is-invalid' : ''); ?>"
                           name="fiscal_code" value="<?php echo e($user->user_details->fiscal_code ?? ''); ?>">

                    <?php if($errors->has('fiscal_code')): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('fiscal_code')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-lg-12">
                <div class="form-group">
                    <label for="gender" class="col-md-12 col-form-label "><?php echo e(__('Sesso')); ?></label>
                    <select
                        class="form-control product_selection_pool <?php echo e($errors->has('gender') ? ' is-invalid' : ''); ?>"
                        name="gender">
                        <option value="" selected> -</option>
                        <option value="maschio" <?php if($user->gender=='maschio'): ?> selected <?php endif; ?> >
                            Maschio
                        </option>
                        <option value="femmina" <?php if($user->gender=='femmina'): ?> selected <?php endif; ?> >
                            Femmina
                        </option>
                        <option value="altro" <?php if($user->gender=='altro'): ?> selected <?php endif; ?> >Altro
                        </option>

                    </select>
                </div>
            </div>
            <div class="col-lg-12">
                <div class="form-group">
                    <label for="tel_referent">Telefono</label>
                    <input id="tel_referent" type="tel"
                           class="form-control<?php echo e($errors->has('tel_referent') ? ' is-invalid' : ''); ?>"
                           name="tel_referent" value="<?php echo e($user->user_details->tel_referent ?? ''); ?>">
                    <?php if($errors->tel_referent): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('tel_referent')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>

            <div class="col-lg-6">
                <div class="form-group">
                    <label for="state_id">Dove lavori (Provincia)?</label>
                    <select class="select form-control <?php echo e($errors->has('state_id') ? ' is-invalid' : ''); ?>" id='state_id'
                            name="state_id" style="width:100% ">
                            <?php $__currentLoopData = $province; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->state_id === $option->id): ?> selected <?php endif; ?>><?php echo e($option->provincia); ?></option> 
                             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                    <?php if($errors->state_id): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('state_id')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
            

            <div class="col-lg-6">
                <div class="form-group">
                    <label for="city_id">Dove lavori (Città)?</label>
                    <select name="city_id" class="form-control select" id='city_id' style='width: 100%'>            
                        <?php $__currentLoopData = $citta; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->city_id === $option->id): ?> selected <?php endif; ?>><?php echo e($option->nome); ?></option> 
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                    
                    <?php if($errors->city_id): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('city_id')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>

            <div class="col-lg-4">
                <div class="form-group">
                    <label for="state_office">Provincia dello studio</label>
                    <select class="select form-control <?php echo e($errors->has('state_office') ? ' is-invalid' : ''); ?>"
                            id='state_office' name="state_office" style="width:100% ">
                            <?php $__currentLoopData = $province; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->state_office == $option->id): ?> selected <?php endif; ?>><?php echo e($option->provincia); ?></option> 
                             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                    <?php if($errors->state_office): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('state_office')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
            
            <div class="col-lg-4">
                <div class="form-group">
                    <label for="city_office_id">Città dello studio</label>
                    <select name="city_office_id" class="form-control select" id='city_office_id' style='width: 100%'>
                        <?php $__currentLoopData = $citta_office; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->city_office_id === $option->id): ?> selected <?php endif; ?>><?php echo e($option->nome); ?></option> 
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                    
                    <?php if($errors->city_office_id): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('city_office_id')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-lg-4">
                <div class="form-group">
                    <label for="address_office">Indirizzo dello studio</label>
                    <input type="text" class="form-control <?php echo e($errors->has('address_office') ? ' is-invalid' : ''); ?>"
                           id="address_office" placeholder="" name="address_office"
                           value="<?php echo e($user->user_details->address_office ?? ''); ?>">
                    <?php if($errors->address_office): ?>
                        <span class="invalid-feedback" role="alert">
                        <strong><?php echo e($errors->first('address_office')); ?></strong>
                    </span>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">













    <div class="col-lg-6 mt-2">
        <div class="form-group">
            <label for="title_study">Titolo di studio</label>
            <select class="form-control product_selection_pool" name="title_study">
                <option value="" selected >Seleziona...</option>
                <option value="media" <?php if($user->user_details->title_study=='media'): ?> selected <?php endif; ?>>Licenza Media</option>
                <option value="diploma" <?php if($user->user_details->title_study=='diploma'): ?> selected <?php endif; ?>>Diploma</option>
                <option value="laurea_triennale" <?php if($user->user_details->title_study=='laurea_triennale'): ?> selected <?php endif; ?>>
                    Laurea Triennale
                </option>
                <option value="laurea_magistrale" <?php if($user->user_details->title_study=='laurea_magistrale'): ?> selected <?php endif; ?>>
                    Laurea Magistrale o Specialistica
                </option>
                <option value="master_primo_livello"
                        <?php if($user->user_details->title_study=='master_primo_livello'): ?> selected <?php endif; ?>>Master I livello
                </option>
                <option value="master_secondo_livello"
                        <?php if($user->user_details->title_study=='master_secondo_livello'): ?> selected <?php endif; ?>>Master II livello
                </option>
                <option value="dottorato" <?php if($user->user_details->title_study=='dottorato'): ?> selected <?php endif; ?> >Dottorato di
                    ricerca
                </option>
                <option value="scuola_di_specializzaione"
                        <?php if($user->user_details->title_study=='scuola_di_specializzaione'): ?> selected <?php endif; ?>>Scuola di
                    Specializzazione
                </option>
                <option value="altro" <?php if($user->user_details->title_study=='altro'): ?> selected  <?php endif; ?>>Altro</option>
            </select>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="form-group">
            <label for="facebook">Facebook</label>
            <input type="text" class="form-control" placeholder="" name="facebook"
                   value="<?php echo e($user->user_details->facebook ?? ''); ?>">
            <?php if($errors->facebook): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('facebook')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="form-group">
            <label for="linkedin">Linkedin</label>
            <input type="text" class="form-control" placeholder="" name="linkedin"
                   value="<?php echo e($user->user_details->linkedin ?? ''); ?>">
            <?php if($errors->linkedin): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('linkedin')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="form-group">
            <label for="twitter">Twitter</label>
            <input type="text" class="form-control" placeholder="" name="twitter"
                   value="<?php echo e($user->user_details->twitter ?? ''); ?>">
            <?php if($errors->twitter): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('twitter')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="form-group">
            <label for="instagram">Instagram</label>
            <input type="text" class="form-control" placeholder="" name="instagram"
                   value="<?php echo e($user->user_details->instagram ?? ''); ?>">
            <?php if($errors->instagram): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('instagram')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>

    <div class="col-lg-6">
        <div class="form-group">
            <label for="site_web">Sito Web</label>
            <input type="text" class="form-control <?php echo e($errors->has('site_web') ? ' is-invalid' : ''); ?>" name="site_web"
                   value="<?php echo e($user->user_details->site_web ?? ''); ?>">
            <?php if($errors->site_web): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('site_web')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
    
    <div class="col-lg-12">
        <div class="form-group">
            <div class="form-check">
                <input class="form-check-input" type="checkbox" name="work_with_underage"
                       <?php if($user->user_details->work_with_underage): ?> checked="checked" <?php endif; ?>  id="work_with_underage">
                <label class="form-check-label" for="gridCheck">
                    Lavori con minori?
                </label>
                <?php if($errors->work_with_underage): ?>
                    <span class="help-block" style="display: block;color: red;">
                    <strong><?php echo e($errors->first('work_with_underage')); ?></strong>
                </span>
                <?php endif; ?>
            </div>
        </div>
    </div>
</div>

<div class="col-lg-12">
    <div class="form-group">
        <table id="albo_professionist" class="table albo_professionist">
            <tr>
                <td>
                    Iscrizione All'albo
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Regione
                </td>
                <td>
                    Provincia
                </td>
                <td>
                    Professione
                </td>
                <td>
                    Numero Iscrione all'albo
                </td>
                <td>
                </td>
            </tr>

            <?php $__currentLoopData = $user->registers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $register): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td  scope="row">
                        <select class="form-control states_albo"  name="states_albo[]" id='row_0'  style="width:100% " >
                            <option value='Tutta Italia' selected >Tutta Italia</option>
                            <?php $__currentLoopData = $states; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value='<?php echo e($state->regione); ?>' <?php if($register->region==$state->regione): ?> selected <?php endif; ?> ><?php echo e($state->regione); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </td>
                    <td  scope="row">
                        <select class="form-control province_albo"  name="province_albo[]" id='province_albo_row_0'  style="width:100% " >
                            <option value='' selected >Seleziona...</option>
                            <?php $__currentLoopData = $province; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $provincia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value='<?php echo e($provincia->provincia); ?>' <?php if($register->province==$provincia->provincia): ?> selected <?php endif; ?> ><?php echo e($provincia->provincia); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </td>
                    <td  scope="row">
                        <select  name="professione[]"  id='professione_row_0' class="form-control professione_profess"  data-id="professione"    style="width:100% " >
                            <option value='' selected >Seleziona...</option>
                            <?php $__currentLoopData = $professions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $profession): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value='<?php echo e($profession->name); ?>' <?php if($register->profession==$profession->name): ?> selected <?php endif; ?> ><?php echo e($profession->name); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </td>
                    <td  scope="row">
                           <input type="text" value="<?php echo e($register->register_number ?? ''); ?>" class="form-control">
                    </td>
                    <td scope="row" style="    display: flex;">
                        <input type="button" class="ibtnDel_albo_professionist btn btn-md btn-danger" value="Cancella">
                    </td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        </table>
    </div>
</div>
<div class="row">
    <div class="col-lg-6">
        <div class="form-group">
            <label for="name" class="required">Professione</label>
            <div class="col-md-12">
                <select
                    class="form-control profession <?php echo e($errors->has('profession_professionist') ? ' is-invalid' : ''); ?>"
                    data-id="profession_professionist" name="profession_professionist" style="width:100% ">
                </select>
                <?php if($errors->profession_professionist): ?>
                    <span class="invalid-feedback" role="alert">
                    <strong><?php echo e($errors->first('profession_professionist')); ?></strong>
                </span>
                <?php endif; ?>
            </div>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="form-group">
            <label for="name">Specializzazione</label>
            <div class="col-md-12">
                <select class="form-control js-example-basic-multiple specialization_professionist"
                        data-id="specialization_professionist" name="specialization_professionist[]"
                        style="width:100% " multiple="">
                </select>
                <?php if($errors->specialization_professionist): ?>
                    <span class="invalid-feedback" role="alert">
                    <strong><?php echo e($errors->first('specialization_professionist')); ?></strong>
                </span>
                <?php endif; ?>
            </div>
        </div>
    </div>
</div>
<div class="col-lg-12">
    <div class="form-group">
        <label for="professions">Altre professioni</label>
        <div class="col-md-12">
            <select class="form-control js-example-basic-multiple other_profession" data-id="professions"
                    name="other_professions[]" style="width:100% " multiple="multiple">
            </select>
            <?php if($errors->professions): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('professions')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
</div>

<hr />

<div class="col-lg-12">
    <div class="form-group">
        <label for="professions">Disponibilità Giorni</label>
        <div class="col-md-12">
            <select class="form-control js-example-basic-multiple select-multiple" data-id="availability_days"
                    name="availability_days[]" style="width:100% " multiple="multiple">
                    <?php $__currentLoopData = $days; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->days->contains($option->id)): ?> selected <?php endif; ?>><?php echo e($option->name); ?></option> 
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
            <?php if($errors->availability_days): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('availability_days')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
</div>

<div class="col-lg-12">
    <div class="form-group">
        <div class="form-check">
            <input class="form-check-input" type="checkbox" name="car_owner"
                    <?php if($user->user_details->car_owner): ?> checked="checked" <?php endif; ?>  id="car_owner">
            <label class="form-check-label" for="gridCheck">
                Automunito?
            </label>
            <?php if($errors->car_owner): ?>
                <span class="help-block" style="display: block;color: red;">
                <strong><?php echo e($errors->first('car_owner')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
</div>

<div class="col-lg-12">
    <div class="form-group">
        <label for="turni">Fasce Orarie</label>
        <div class="col-md-12">
        <select class="form-control js-example-basic-multiple select-multiple" data-id="turni"
                    name="turni[]" style="width:100% " multiple="multiple">
                    <?php $__currentLoopData = $turni; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->turni->contains($option->id)): ?> selected <?php endif; ?>><?php echo e($option->name); ?></option> 
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
            <?php if($errors->turni): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('turni')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
</div>


<div class="col-lg-12">
    <div class="form-group">
        <label for="professions">Tipologia di Contratto</label>
        <div class="col-md-12">
        <select class="form-control js-example-basic-multiple select-multiple" data-id="contracts"
                    name="contracts[]" style="width:100% " multiple="multiple">
                    <?php $__currentLoopData = $contracts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->contracts->contains($option->id)): ?> selected <?php endif; ?>><?php echo e($option->name); ?></option> 
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
            <?php if($errors->contracts): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('contracts')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
</div>

<hr/>

<div class="col-lg-12">
    <div class="form-group">
        <label for="fasce_eta">Fascia Eta</label>
        <div class="col-md-12">
        <select class="form-control js-example-basic-multiple select-multiple" data-id="fasce_eta"
                    name="fasce_eta[]" style="width:100% " multiple="multiple">
                    <?php $__currentLoopData = $fasce_eta; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($option->id); ?>" <?php if($user->user_details->fasce_eta->contains($option->id)): ?> selected <?php endif; ?>><?php echo e($option->name); ?></option> 
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
            <?php if($errors->fasce_eta): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('fasce_eta')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
</div>

<hr/>

<div class="row">
    <div class="col-6">

        <label for="prezzo_min">Prezzo min</label>
        <input id="prezzo_min" type="number" min="0"
                class="form-control<?php echo e($errors->has('prezzo_min') ? ' is-invalid' : ''); ?>"
                name="prezzo_min" value="<?php echo e($user->user_details->prezzo_min ?? ''); ?>">
        <?php if($errors->prezzo_min): ?>
            <span class="invalid-feedback" role="alert">
            <strong><?php echo e($errors->first('prezzo_min')); ?></strong>
        </span>
        <?php endif; ?>
    </div>

    <div class="col-6">
        <div class="form-group">
            <label for="prezzo_max">Prezzo max</label>
            <input id="prezzo_max" type="number" min="0"
                    class="form-control<?php echo e($errors->has('prezzo_max') ? ' is-invalid' : ''); ?>"
                    name="prezzo_max" value="<?php echo e($user->user_details->prezzo_max ?? ''); ?>">
            <?php if($errors->prezzo_max): ?>
                <span class="invalid-feedback" role="alert">
                <strong><?php echo e($errors->first('prezzo_max')); ?></strong>
            </span>
            <?php endif; ?>
        </div>
    </div>
</div>



<?php $__env->startPush('footersection'); ?>
    <script>
        var STATE_OFFICE = '<?php echo e($user->user_details->state_office ?? ""); ?>';
        var STATE_ID = '<?php echo e($user->user_details->state_id ?? ""); ?>';
        var count_albo = '<?php echo e(count($user->registers)); ?>';
        var STATES = <?php isset($user->states) ? print json_encode($user->states) : print 'null' ?>;
        var PROFESSIONS = <?php isset($user->principal_profession) && isset($user->principal_profession->profession_principal) ? print json_encode($user->principal_profession->profession_principal) : print 'null' ?>;
        var SPECIALIZATION = <?php isset($user->specialiazation) ? print json_encode($user->specialiazation) : print 'null' ?>;
        var other_profession = <?php isset($user->other_profession) ? print json_encode($user->other_profession) : print 'null' ?>;

        $(function () {
            $('.professione_profess').select2();
            if (count_albo == 0) {
                initializate(0);
            }

            $('.states,.states_other').select2({
                escapeMarkup: function (text) {
                    return text;
                }
            });
            $('.states_other').select2();
            $.ajax({
                url: '/ajax/ajaxGetStates',
                method: "GET",
                dataType: 'json',
                success: function (response, status) {
                    $('.states_other').empty().trigger("change");
                    $.each(response.data, function (key, val) {
                        newOption_website = new Option(val.provincia, val.id, false, false);
                        $('.states_other').append(newOption_website);
                    });
                }
            }).done(function () {
                var array = [];
                if (STATES != 'null') {
                    $.each(STATES, function (key, val) {
                        array.push(val.id);
                    });
                    $('.states_other').val(array);
                    $('.states_other').trigger('change');
                }
            });
            
        });
        $('.states_albo').select2();
        $('.province_albo').select2();

        $('#state_id').on('change', async function (e) {
            onProvinciaChange( $(this).val(), $('#city_id'))
        })
        $('#state_office').on('change', async function (e) {
            onProvinciaChange( $(this).val(), $('#city_office_id'))
        })


        $('#state_id').select2()
        $('#state_office').select2()

        $('.cities').select2()

        function initializate(row) {

            console.log('#row_' + row + '.states_albo');
            $.ajax({
                url: '/ajax/ajaxGetRegion',
                method: "GET",
                dataType: 'json',
                success: function (response, status) {

                    $('#row_' + row + ' .states_albo').empty().trigger("change");
                    newOption_website = new Option('Tutta Italia', 'Tutta Italia', true, true);
                    $('#row_' + row + '.states_albo').append(newOption_website);
                    $.each(response.data, function (key, val) {
                        newOption_website = new Option(val.regione, val.regione, false, false);
                        $('#row_' + row + '.states_albo').append(newOption_website);
                    });
                }
            });
            $.ajax({
                url: '/ajax/ajaxGetNotSpecializationProfession',
                method: "GET",
                dataType: 'json',
                success: function (response, status) {
                    $('#professione_row_' + row).empty().trigger("change");
                    $.each(response.data, function (key, val) {
                        newOption_website = new Option((val.name), val.name, false, false);
                        $('#professione_row_' + row).append(newOption_website);
                    });
                }
            });
            $('.states_albo').on("change", function (e, i) {
                var id = ($(this).val());
                var id_select = ($(this).attr('id'));
                $.ajax({
                    url: "/ajax/ajaxGetProvincia/" + id,
                    method: "GET",
                    dataType: 'json',
                    success: function (response, status) {
                        $('#province_albo_' + id_select).empty().trigger("change");
                        newOption_website = new Option('Seleziona...', '', true, true);
                        $('#province_albo_' + id_select).append(newOption_website);
                        $.each(response.data, function (key, val) {
                            newOption_website = new Option(val.provincia, val.provincia, false, false);
                            $('#province_albo_' + id_select).append(newOption_website);
                        });

                    }
                });

            });
        }



        $(function () {
            $(".addrow_albo_professionist").on("click", function () {
                addNewShippingRowPRofe();
                initializate(counter_albo_professionist);
                counter_albo_professionist++;
            });
            $("table.albo_professionist").on("click", ".ibtnDel_albo_professionist", function (event) {
                $(this).closest("tr").remove();
                counter_albo_professionist--;
            });

        });
        function addNewShippingRowPRofe() {
            var newRow = $("<tr>"), cols = '', options = '';
            cols += '<td>  <select class="form-control states_albo"  name="states_albo[]" id="row_' + counter_albo_professionist + '"  style="width:100% " ></select>' +
                '</td>';
            cols += '<td>  <select class="form-control province_albo"  name="province_albo[]" id="province_albo_row_' + counter_albo_professionist + '"  style="width:100% " ></select></td>';
            cols += '<td><select  name="professione[]"  id="professione_row_' + counter_albo_professionist + '" class="form-control professione_profess "  data-id="professione"    style="width:100% " ></select></td>';
            cols += '<td style="display: flex;"><input type="button" class="ibtnDel_albo_professionist btn btn-md btn-danger" value="Cancella"></td>';
            newRow.append(cols);
            $("table.albo_professionist").append(newRow);

        }
         $(function () {
            $('.profession_professionist').select2({
                escapeMarkup: function (text) {
                    return text;
                }
            });
            $.ajax({
                url: "/ajax/ajaxGetNotSpecializationProfession",
                method: "GET",
                dataType: 'json',
                success: function (response, status) {
                    $('.profession').append(new Option('Seleziona...', '', true, true));
                    $.each(response.data, function (key, val) {
                        if (PROFESSIONS == val.id) {
                            newOption_website = new Option(val.name, val.id, true, true);
                        } else {
                            newOption_website = new Option(val.name, val.id, false, false);
                        }
                        $('.profession').append(newOption_website);
                    });
                }

            });
            if (SPECIALIZATION) {
                specialization(PROFESSIONS);
            }
            $('.profession').on("change", function (e, i) {

                var id = ($(this).val());
                specialization(id);
            });
            $('.other_profession').select2();

            $('.select-multiple').select2()//.val(['lun', 'mer']).trigger('change');
             $('.specialization_professionist').select2();

            $.ajax({
                url: "/ajax/ajaxGetNotSpecializationProfession",
                method: "GET",
                dataType: 'json',
                success: function (response, status) {
                    $('.other_profession').empty().trigger("change");
                    $.each(response.data, function (key, val) {
                        newOption_website = new Option(val.name, val.id, false, false);
                        $('.other_profession').append(newOption_website);
                    });
                }

            }).done(function () {
                var array = [];
                if (other_profession != 'null') {
                    $.each(other_profession, function (key, val) {
                        if (!array.includes(val.id))
                            array.push(val.id);
                    });
                    $('.other_profession').val(array);
                    $('.other_profession').trigger('change');
                }
            });
            ;
        });

        function specialization(id) {
            $.ajax({
                url: "/ajax/ajaxGetSpecialition/" + id,
                method: "GET",
                dataType: 'json',
                success: function (response, status) {
                    $('.specialization_professionist').empty().trigger("change");
                    $.each(response.data, function (key, val) {
                        newOption_website = new Option(val.name, val.id, false, false);
                        $('.specialization_professionist').append(newOption_website);
                    });

                }
            }).done(function () {
                var array = [];
                if (SPECIALIZATION != 'null') {
                    $.each(SPECIALIZATION, function (key, val) {
                        console.log(val.id);
                        array.push(val.id);
                    });
                    $('.specialization_professionist').val(array);
                    $('.specialization_professionist').trigger('change');
                }
            });
            ;
        }
    </script>
<?php $__env->stopPush(); ?>
<?php /**PATH /var/www/linkabili/resources/views/backend/user/professionist/detail.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit