Team 3 Form changes
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m23s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m23s
Details
This commit is contained in:
parent
f352499ad2
commit
38d8e25e57
|
|
@ -77,8 +77,8 @@
|
|||
<button type="button"
|
||||
class="btn btn-xs btn-info edit-btn"
|
||||
plan_details="{{ json_encode($sub->formdata) }}"><i
|
||||
class="mdi mdi-pencil"></i> Edit</button>
|
||||
<button type="button" class="btn btn-danger btn-xs mt-1 delete-btn" data-form-id="{{ $sub->formdata->form_id }}" data-id="{{ $sub->id }}">Delete</button>
|
||||
class="mdi mdi-pencil"></i> Execute</button>
|
||||
<button type="button" class="btn btn-danger btn-xs delete-btn" data-form-id="{{ $sub->formdata->form_id }}" data-id="{{ $sub->id }}">Delete</button>
|
||||
</td>
|
||||
<td>{{ isset($sub->formdata->record_date) && $sub->formdata->record_date > 0 ? 'Yes' : 'No' }}
|
||||
</td>
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
<input type="hidden" name="form_id" value="{{ $form_id }}">
|
||||
@csrf
|
||||
@foreach ($questions as $question)
|
||||
@if (in_array($question->code, ['record_date', 'name_of_the_speaker', 'msl_code', 'attendence','speciality']))
|
||||
@if (in_array($question->code, ['record_date', 'name_of_the_speaker', 'msl_code', 'attendence','speciality','honorarium_amount','other_expenses','total_eas','no_of_patients_on_duolin','no_of_units_duolin_respules']))
|
||||
@continue
|
||||
@endif
|
||||
<div class="col-md-12 mb-2">
|
||||
|
|
@ -364,6 +364,7 @@
|
|||
$('#form-wrapper').hide()
|
||||
$('#execution-form-wrapper').show()
|
||||
$('#table-wrapper').hide()
|
||||
$('#execution-no_of_patients_on_duolin').attr('max',10);
|
||||
})
|
||||
|
||||
jQuery(document).ready(function($) {
|
||||
|
|
@ -443,15 +444,15 @@
|
|||
|
||||
$('.edit-btn').click(function() {
|
||||
var executionexeField = document.getElementById('execution-record_date');
|
||||
executionexeField.setAttribute('min', executionDateField.value);
|
||||
executionexeField.setAttribute('max', today);
|
||||
});
|
||||
|
||||
executionDateField.addEventListener('change', function() {
|
||||
/* executionDateField.addEventListener('change', function() {
|
||||
console.log('gg');
|
||||
var executionexeField = document.getElementById('execution-record_date');
|
||||
executionexeField.setAttribute('min', executionDateField.value);
|
||||
});
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@
|
|||
<input type="hidden" name="planning" value="yes">
|
||||
@csrf
|
||||
@foreach ($questions as $question)
|
||||
@if (in_array($question->code, ['record_date','attendence','new_continue','lta_regional','physical_virtual','yearly_honorarium','venue_av_food_etc_cost','total_eas_required']))
|
||||
@if (in_array($question->code, ['record_date','attendence','new_continue','lta_regional','physical_virtual','yearly_honorarium','venue_av_food_etc_cost','total_eas_required','no_of_patients_on_duolin','no_of_units_duolin_respules']))
|
||||
@continue
|
||||
@endif
|
||||
<div class="col-md-12 mb-2">
|
||||
|
|
@ -411,6 +411,7 @@
|
|||
$('#execution-form-wrapper').show()
|
||||
$('#table-wrapper').hide()
|
||||
$('#execution-attendence').attr({min:"1"});
|
||||
$('#execution-no_of_patients_on_duolin').attr('max',10);
|
||||
})
|
||||
|
||||
|
||||
|
|
@ -533,14 +534,14 @@
|
|||
|
||||
$('.edit-btn').click(function() {
|
||||
var executionexeField = document.getElementById('execution-record_date');
|
||||
executionexeField.setAttribute('min', executionDateField.value);
|
||||
executionexeField.setAttribute('max', today);
|
||||
});
|
||||
|
||||
executionDateField.addEventListener('change', function() {
|
||||
/* executionDateField.addEventListener('change', function() {
|
||||
console.log('gg');
|
||||
var executionexeField = document.getElementById('execution-record_date');
|
||||
executionexeField.setAttribute('min', executionDateField.value);
|
||||
});
|
||||
}); */
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -347,14 +347,14 @@
|
|||
|
||||
$('.edit-btn').click(function() {
|
||||
var executionexeField = document.getElementById('execution-record_date');
|
||||
executionexeField.setAttribute('min', executionDateField.value);
|
||||
executionexeField.setAttribute('max', today);
|
||||
});
|
||||
|
||||
executionDateField.addEventListener('change', function() {
|
||||
/* executionDateField.addEventListener('change', function() {
|
||||
console.log('gg');
|
||||
var executionexeField = document.getElementById('execution-record_date');
|
||||
executionexeField.setAttribute('min', executionDateField.value);
|
||||
});
|
||||
}); */
|
||||
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue