| 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 : |
<div class="col-lg-6 fields_professionist">
<div class="form-group">
<label for="name_professionist" class=" required col-md-12 col-form-label "><?php echo e(__('Nome')); ?></label>
<div class="col-md-12">
<input type="text" class="form-control <?php echo e($errors->has('name_professionist') ? ' is-invalid' : ''); ?>"
name="name_professionist" value="<?php echo e(old('name_professionist')); ?>">
<?php if($errors->has('name_professionist')): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('name_professionist')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-lg-6 fields_professionist">
<div class="form-group">
<label for="surname_professionist" class="required col-md-12 col-form-label "><?php echo e(__('Cognome')); ?></label>
<div class="col-md-12">
<input type="text" class="form-control<?php echo e($errors->has('surname_professionist') ? ' is-invalid' : ''); ?>"
name="surname_professionist" value="<?php echo e(old('surname_professionist')); ?>">
<?php if($errors->has('surname_professionist')): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('surname_professionist')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-lg-12 fields_professionist">
<div class="form-group ">
<label for="email_professionist"
class=" required col-md-12 col-form-label "><?php echo e(__('Indirizzo E-mail')); ?>
<small>(Assicurati di digitare correttamente la tua e-mail)</small>
</label>
<div class="col-md-12">
<input type="text" autocomplete="false"
class="form-control<?php echo e($errors->has('email_professionist') ? ' is-invalid' : ''); ?>"
name="email_professionist" value="<?php echo e(old('email_professionist')); ?>">
<?php if($errors->has('email_professionist')): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('email_professionist')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-lg-12 fields_professionist ">
<div class="form-group ">
<label for="password_professionist" class="required col-md-12 col-form-label "><?php echo e(__('Password')); ?>
<small>(La password deve avere almeno 8 caratteri)</small>
</label>
<div class="col-md-12" style="display:flex">
<input type="password" class="form-control<?php echo e($errors->has('password_professionist') ? ' is-invalid' : ''); ?> password"
name="password_professionist" autocomplete="false">
<?php if($errors->has('password_professionist')): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('password_professionist')); ?></strong>
</span>
<?php endif; ?>
<span class="toggle_pwd icofont-eye-blocked field_icon" ></span>
</div>
</div>
</div>
<div class="col-lg-12 fields_professionist ">
<div class="form-group ">
<label for="password_professionist_confirmation"
class="required col-md-12 col-form-label "><?php echo e(__('Conferma Password')); ?></label>
<div class="col-md-12" style="display:flex">
<input type="password"
class="form-control <?php echo e($errors->has('password_professionist_confirmation') ? ' is-invalid' : ''); ?> password"
name="password_professionist_confirmation" autocomplete="false">
<?php if($errors->has('password_professionist_confirmation')): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('password_professionist_confirmation')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="form-group">
<label for="name" class="required col-md-12 col-form-label">Qual'è il tuo lavoro o di cosa ti occupi?</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="tel_professionist" class="required col-md-12 col-form-label">Telefono
</label>
<div class="col-md-12">
<input id="tel_professionist <?php echo e($errors->has('tel_professionist') ? ' is-invalid' : ''); ?>" type="tel"
class="form-control<?php echo e($errors->has('tel_professionist') ? ' is-invalid' : ''); ?>"
name="tel_professionist" value="<?php echo e(old('tel_professionist')); ?>">
<?php if($errors->tel_professionist): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('tel_professionist')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="municipality_professionist" class="required col-md-12 col-form-label">Il luogo in cui lavori o sei alla ricerca di un lavoro
</label>
<div class="col-md-12">
<select
class="form-control js-example-basic-multiple city <?php echo e($errors->has('municipality_professionist') ? ' is-invalid' : ''); ?>"
data-id="municipality_professionist" name="municipality_professionist" style="width:100% ">
<option value="" disabled selected>Seleziona</option>
</select>
<?php if($errors->municipality_professionist): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('municipality_professionist')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<!--
<div class="col-lg-12">
<div class="form-group">
<label for="municipality_professionist" class="required col-md-12 col-form-label">Il luogo in cui lavori o sei alla ricerca di un lavoro
</label>
<div id="locationFieldCargiver" class="col-md-12">
<input id="professionist_work" name="address_google_professionist"
class="form-control <?php echo e($errors->has('states') ? ' is-invalid' : ''); ?> <?php echo e($errors->has('municipality_professionist') ? ' is-invalid' : ''); ?>"
placeholder="Cercalo qui"
type="text"
value="<?php echo e(old('address_google_professionist')); ?>">
<?php if($errors->municipality_professionist): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('municipality_professionist')); ?></strong>
</span>
<?php endif; ?>
<?php if($errors->states): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('states')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-lg-6" style='display: none'>
<div class="form-group">
<label for="municipality_professionist" class="required col-md-12 col-form-label">Dove lavori (Città)?</label>
<div class="col-md-12">
<input type="text" readonly="" id="municipality_work_professionist" pattern="^(?!^ +$)([\w -]+)$"
class="form-control <?php echo e($errors->has('municipality_professionist') ? ' is-invalid' : ''); ?>"
name="municipality_professionist" value="<?php echo e(old('municipality_professionist')); ?>" placeholder="">
</div>
</div>
</div>
<div class="col-lg-6" style='display: none'>
<div class="form-group">
<label for="state" class="required col-md-12 col-form-label">Provincia</label>
<div class="col-md-12" style="pointer-events: none; ">
<select id="state_work_professionist" class="form-control states" data-id="states" name="states"
style="width:100% ">
</select>
</div>
</div>
</div>
!-->
<div class="col-lg-12">
<div class="form-group">
<label for="other_states" class="col-md-12 col-form-label">Lavori anche in altre province?</label>
<div class="col-md-12">
<select class="form-control js-example-basic-multiple other_states" id="other_states" data-id="other_states"
name="other_states[]" style="width:100% " multiple="multiple">
</select>
<?php if($errors->other_states): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('other_states')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pathology_professionist" class=" col-md-12 col-form-label ">Indica con quale di queste condizioni
hai lavorato o lavori prevalentemente.</label>
<div class="col-md-12">
<select
class="form-control js-example-basic-multiple pathology <?php echo e($errors->has('pathology_professionist') ? ' is-invalid' : ''); ?>"
data-id="pathology_professionist" name="pathology_professionist[]" style="width:100% "
multiple="multiple">
</select>
<?php if($errors->pathology_professionist): ?>
<span class="invalid-feedback" role="alert">
<strong><?php echo e($errors->first('pathology_professionist')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
</div>
<?php echo $__env->make('auth.modal.modal_state', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->startPush('footersection'); ?>
<script type="text/javascript" charset="utf-8">
var counter_albo_professionist = 1;
$('.states_albo, .province_albo, .professione_profess').select2({
escapeMarkup: function (text) {
return text;
}
});
function show_detail_prof(c) {
var row_prof_val = $('#row_'+c).val();
var row_prof_text=$( '#row_'+c+' option:selected').text();
newOption_website = new Option(row_prof_val, row_prof_text , true, true);
$('#row_0').append(newOption_website);
var province_albo_val = $('#province_albo_row_'+c).val();
var province_albo_text=$( '#province_albo_row_'+c+' option:selected').text();
newOption_website = new Option(province_albo_val, province_albo_text , true, true);
$('#province_albo_row_0').append(newOption_website);
var professione_row_val = $('#professione_row_'+c).val();
var professione_row_text=$( '#professione_row_'+c+' option:selected').text();
newOption_website = new Option(professione_row_val, professione_row_text , true, true);
$('#professione_row_0').append(newOption_website);
$('.btn-save-modal-state').hide();
$('#add_row_professionist').modal();
}
$(function () {
initializate(0)
$('.btn-save-modal-state').on("click", function () {
addNewShippingRowPRofe();
$('.td_regione').show();
counter_albo_professionist++
});
$(".addrow_albo_professionist").on("click", function () {
$('.btn-save-modal-state').show();
$('#row_0').val([]);
$('#province_albo_row_0').val([]);
$('#professione_row_').val([]);
$('#add_row_professionist').modal();
});
});
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");
newOption_website = new Option('Seleziona...', '', true, true);
$('#professione_row_' + row).append(newOption_website);
$.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 () {
$("table.albo_professionist").on("click", ".ibtnDel_albo_professionist", function (event) {
$(this).closest("tr").remove();
counter_albo_professionist--;
});
});
function addNewShippingRowPRofe() {
var row_prof = $('#row_0').select2('data');
console.log(row_prof);
var province_albo_row_prof = $('#province_albo_row_0').select2('data');
var professione_row_prof = $('#professione_row_0').select2('data');
var newRow = $("<tr>"), cols = '', options = '';
cols += '<td> <select class="form-control states_albo" name="states_albo[]" id="row_' + counter_albo_professionist + '" style="width:100% " >' +
'<option value=' + (row_prof[0] ? row_prof[0].id : '') + '>' + (row_prof[0] ? row_prof[0].text : 'Seleziona...') + '</option></select>' +
'<select class="hidden-td form-control province_albo" name="province_albo[]" id="province_albo_row_' + counter_albo_professionist + '" style="width:100% " >' +
'<option value=' + (province_albo_row_prof[0] ? province_albo_row_prof[0].id : '') + '>' + (province_albo_row_prof[0] ? province_albo_row_prof[0].text : '') + '</option></select>' +
'<select name="professione[]" id="professione_row_' + counter_albo_professionist + '" class="hidden-td form-control professione_profess " data-id="professione" style="width:100% " >' +
'<option value=' + (professione_row_prof[0] ? professione_row_prof[0].id : '') + '>' + (professione_row_prof[0] ? professione_row_prof[0].text : '') + '</option></select>' +
'</td>';
cols += '<td style=" display: flex;"><button type="button" class="btn btn-primary" onclick="show_detail_prof(' + (counter_albo_professionist) + ')"><i class="icofont-eye-alt"></i></button>' +
'<button type="button" class="ibtnDel_albo_professionist btn btn-md btn-danger"><i class="icofont-trash"></i></button></td>';
newRow.append(cols);
$("table.albo_professionist").append(newRow);
}
</script>
<?php $__env->stopPush(); ?>
<?php /**PATH /var/www/linkabili/resources/views/auth/_parts/professionist.blade.php ENDPATH**/ ?>