| 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="modal" id="add_row_other_study">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h5 class="modal-title">Altri Studi</h5>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<div class="col-lg-12 ">
<div class="form-group">
<label class=" required col-md-12 col-form-label ">
Titolo di studio
</label>
<div class="col-md-12">
<select class="form-control product_selection_pool" id="title_study_other_0">
<option value="media">Licenza
Media
</option>
<option value="diploma">Diploma
</option>
<option value="laurea_triennale">Laurea Triennale
</option>
<option value="laurea_magistrale">Laurea
Magistrale o Specialistica
</option>
<option value="master_primo_livello">Master I
livello
</option>
<option value="master_secondo_livello">Master II
livello
</option>
<option value="dottorato">
Dottorato di ricerca
</option>
<option value="scuola_di_specializzaione">Scuola
di Specializzazione
</option>
<option value="altro">Altro</option>
</select>
</div>
</div>
</div>
<div class="col-lg-12 ">
<div class="form-group">
<label class=" required col-md-12 col-form-label ">
Studi
</label>
<div class="col-md-12">
<input type="text" id='other_study_row_0'
class="form-control">
</div>
</div>
</div>
<div class="col-lg-12 ">
<div class="form-group">
<label class=" required col-md-12 col-form-label ">
UniversitÃ
</label>
<div class="col-md-12">
<input type="text"
id="study_0" class="form-control">
</div>
</div>
</div>
<div class="col-lg-12 ">
<div class="form-group">
<label class=" required col-md-12 col-form-label ">
CittÃ
</label>
<div class="col-md-12">
<input type="text"
id="city_0" class="form-control">
</div>
</div>
</div>
<div class="col-lg-12 ">
<div class="form-group">
<label class=" required col-md-12 col-form-label ">
Data Conseguimento
</label>
<div class="col-md-12">
<input type="month"
id="data_conseguimento_0" class="form-control">
</div>
</div>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-info" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-success btn-save-modal-other-study" data-dismiss="modal">
Salva
</button>
</div>
</div>
</div>
</div>
<?php $__env->startPush('footersection'); ?>
<script>
function show_detail_other_study(c) {
var row_prof_val = $('#title_study_other_' + c).val();
$('#title_study_other_0').val(row_prof_val);
var other_study_row = $('#other_study_row_' + c).val();
$('#other_study_row_0').val(other_study_row);
var city_row = $('#city_' + c).val();
$('#city_0').val(city_row);
var study_row = $('#study_' + c).val();
$('#study_0').val(study_row);
var data_conseguimento_row = $('#data_conseguimento_' + c).val();
$('#data_conseguimento_0').val(data_conseguimento_row);
$('.btn-save-modal-other-study').hide();
$('#add_row_other_study').modal();
}
$(function () {
$('.btn-save-modal-other-study').on("click", function () {
addNewShippingRowOther();
counter_other_study++
});
$(".addrow-other-study").on("click", function () {
$('.btn-save-modal-other-study').show();
$('#other_study_row_0').val('');
$('#title_study_other_0').val('');
$('#city_0').val('');
$('#study_0').val('');
$('#data_conseguimento_0').val('');
$('#add_row_other_study').modal();
});
$("table.shipping-settings-other-study").on("click", ".ibtnDel-ot", function (event) {
$(this).closest("tr").remove();
counter_other_study--;
});
});
function addNewShippingRowOther(counter_other_study) {
var row_prof_val = $('#title_study_other_0').val();
var row_prof_text = $('#title_study_other_0 option:selected').text();
var other_study_row_0_val = $('#other_study_row_0').val();
var city_0 = $('#city_0').val();
var study_0 = $('#study_0').val();
var data_conseguimento_0 = $('#data_conseguimento_0').val();
var newRow = $("<tr>"), cols = '', options = '';
cols += "<td><select class='form-control product_selection_pool' id='title_study_other_"+counter_other_study+"' name='title_study_other[]'>" +
"<option value='" + row_prof_val + "'>" + row_prof_text + "</option> " +
"</select></td>";
cols += '<td class="hidden-td"><input type="text" name="study[]" id="study_'+counter_other_study+'" value="' + other_study_row_0_val + '"class="form-control ">';
cols += '<input type="text" name="istitute[]" id="other_study_row_'+counter_other_study+'" class="form-control " value="' + study_0 + '">';
cols += '<input type="text" name="zone[]" id="city_'+counter_other_study+'"class="form-control " value="' + city_0 + '">';
cols += '<input type="month" name="years[]" id="data_conseguimento_'+counter_other_study+'" class="form-control " value="' + data_conseguimento_0 + '">';
cols += '</td>';
cols += '<td style="padding: 10px;">' +
'<button type="button" class="btn btn-primary" onclick="show_detail_other_study('+counter_other_study+')"> ' +
' <i class="icofont-eye-alt"></i></button>' +
' <button type="button" class="ibtnDel-p btn btn-md btn-danger"><i ' +
' class="icofont-trash"></i>' +
'</button></td>';
newRow.append(cols);
console.log(newRow);
$("table.shipping-settings-other-study").append(newRow);
}
</script>
<?php $__env->stopPush(); ?>
<?php /**PATH /var/www/linkabili/resources/views/frontend/profile/_parts/modal/modal_other_study.blade.php ENDPATH**/ ?>