diff --git a/resources/views/form/rapport-team3/1780548606-6544d930-7144-4b75-b769-560752809662.blade.php b/resources/views/form/rapport-team3/1780548606-6544d930-7144-4b75-b769-560752809662.blade.php index 49109c54..8e44de3f 100644 --- a/resources/views/form/rapport-team3/1780548606-6544d930-7144-4b75-b769-560752809662.blade.php +++ b/resources/views/form/rapport-team3/1780548606-6544d930-7144-4b75-b769-560752809662.blade.php @@ -168,7 +168,7 @@ {{-- added label after phone_no_staff this field--}} @if($question->code == 'phone_no_staff') -
+
Order Received for Brand (Enter No. of Units per Respule)
@endif @@ -303,9 +303,13 @@ $('#field-upload_invoice_photo_max_10_mb') .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 diff --git a/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php b/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php index 3eebcca1..bf7dd622 100644 --- a/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php +++ b/resources/views/form/rapport-vitalis/1776765811-664dd43c-0466-4e4d-9a15-0adaa01f5b94.blade.php @@ -265,11 +265,9 @@ $('#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').parent().hide(); - $('#field-contact_id').on('change',function(){ let dropDown=$('#field-contact_id').val(); if(dropDown==='others'){ @@ -316,15 +314,11 @@ $('#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-total_npi_value').val(totalValue); $('#field-total_npi_units').val(totalUnits); }) - $('#report-form').on('submit', function(event){ @@ -349,7 +343,7 @@ text: 'Your data is successfully submitted!', icon: 'success' }).then(() => { - location.reload(); // 🔥 page refresh here + location.reload(); // page refresh here }); $('#report-form').trigger("reset"); } else {