Merge branch 'main' of http://192.168.1.200:3000/Stratawiz/Rapport-Laravel
Specific Folder FTP Upload / ftp-deploy (push) Successful in 36s Details

This commit is contained in:
zeeshan 2026-06-05 15:39:17 +05:30
commit 4fe210274a
2 changed files with 9 additions and 11 deletions

View File

@ -168,7 +168,7 @@
{{-- added label after phone_no_staff this field--}} {{-- added label after phone_no_staff this field--}}
@if($question->code == 'phone_no_staff') @if($question->code == 'phone_no_staff')
<h5> <h5 class="text-center">
Order Received for Brand (Enter No. of Units per Respule) Order Received for Brand (Enter No. of Units per Respule)
</h5> </h5>
@endif @endif
@ -303,9 +303,13 @@
$('#field-upload_invoice_photo_max_10_mb') $('#field-upload_invoice_photo_max_10_mb')
.attr('accept', '.jpg,.jpeg,.png,.pdf'); .attr('accept', '.jpg,.jpeg,.png,.pdf');
$('#field-bag_distribution_photo_jpgjpegpng_max_upto_10_mb') /*
.attr('accept', '.jpg,.jpeg,.png'); $('#field-bag_distribution_photo_jpgjpegpng_max_upto_10_mb')
.attr({
accept: 'image/*',
}); */
$('#field-bag_distribution_photo_jpgjpegpng_max_upto_10_mb')
.attr('accept', '.jpg,.jpeg,.png,.pdf');
const maxSize = 10 * 1024 * 1024; // 10 MB const maxSize = 10 * 1024 * 1024; // 10 MB

View File

@ -265,11 +265,9 @@
$('#field-msl_code,#field-speciality').attr('readonly',true); $('#field-msl_code,#field-speciality').attr('readonly',true);
$('#field-other_doctor_name,#field-other_speciality,#field-other_msl_code').prop({"required":false}); $('#field-other_doctor_name,#field-other_speciality,#field-other_msl_code').prop({"required":false});
$('#field-other_doctor_name,#field-other_speciality,#field-other_msl_code').parent().hide(); $('#field-other_doctor_name,#field-other_speciality,#field-other_msl_code').parent().hide();
$('#field-contact_id').on('change',function(){ $('#field-contact_id').on('change',function(){
let dropDown=$('#field-contact_id').val(); let dropDown=$('#field-contact_id').val();
if(dropDown==='others'){ if(dropDown==='others'){
@ -316,9 +314,6 @@
$('#field-galvus_tab_100mg_alu_15s_value').val((parseInt($('#field-galvus_tab_100mg_alu_15s_units').val())*366 ||0)); $('#field-galvus_tab_100mg_alu_15s_value').val((parseInt($('#field-galvus_tab_100mg_alu_15s_units').val())*366 ||0));
$('#field-galvus_50_mg_tab_15s_value').val((parseInt($('#field-galvus_50_mg_tab_15s_units').val())*233 ||0)); $('#field-galvus_50_mg_tab_15s_value').val((parseInt($('#field-galvus_50_mg_tab_15s_units').val())*233 ||0));
$('#field-total_npi_value').val(totalValue); $('#field-total_npi_value').val(totalValue);
$('#field-total_npi_units').val(totalUnits); $('#field-total_npi_units').val(totalUnits);
@ -326,7 +321,6 @@
$('#report-form').on('submit', function(event){ $('#report-form').on('submit', function(event){
event.preventDefault(); event.preventDefault();
const formData = new FormData($('#report-form')[0]); const formData = new FormData($('#report-form')[0]);
@ -349,7 +343,7 @@
text: 'Your data is successfully submitted!', text: 'Your data is successfully submitted!',
icon: 'success' icon: 'success'
}).then(() => { }).then(() => {
location.reload(); // 🔥 page refresh here location.reload(); // page refresh here
}); });
$('#report-form').trigger("reset"); $('#report-form').trigger("reset");
} else { } else {