diff --git a/resources/views/form/rapport-zenova/1788239728-6f7f3c27-c5dc-4e6e-a042-aefd5681af3a.blade.php b/resources/views/form/rapport-zenova/1788239728-6f7f3c27-c5dc-4e6e-a042-aefd5681af3a.blade.php
index b3e177b1..725bf36b 100644
--- a/resources/views/form/rapport-zenova/1788239728-6f7f3c27-c5dc-4e6e-a042-aefd5681af3a.blade.php
+++ b/resources/views/form/rapport-zenova/1788239728-6f7f3c27-c5dc-4e6e-a042-aefd5681af3a.blade.php
@@ -759,6 +759,72 @@
$('#report-form').on('submit', function(event){
event.preventDefault();
+ let brand = $('#field-select_brand').val();
+ let conversion = $('#field-conversion_status').val();
+
+
+ let glipiq_rx_total = 0;
+ let glipiq_pob_total = 0;
+ let glipiq_new_conversion = 0;
+ let glipiq_existing_conversion = 0;
+ let sitazit_new_conversion = 0;
+ let sitazit_existing_conversion = 0;
+
+ if (brand === 'Glipiq') {
+
+ let pen_rx = parseInt($('#field-pen_rx_count').val()) || 0;
+ let vial_rx = parseInt($('#field-vial_rx_count').val()) || 0;
+ let pen_pob = parseInt($('#field-pen_pob_units').val()) || 0;
+ let vial_pob = parseInt($('#field-vial_pob_units').val()) || 0;
+
+ glipiq_rx_total = pen_rx + vial_rx;
+ glipiq_pob_total = pen_pob + vial_pob;
+
+ // Glipiq Conversion Status
+ if (conversion === 'New Conversion') {
+ glipiq_new_conversion = 1;
+ } else if (conversion === 'Existing Prescriber') {
+ glipiq_existing_conversion = 1;
+ }
+
+ } else if (brand === 'Sitazit') {
+ // Sitazit Conversion Status
+ if (conversion === 'New Conversion') {
+ sitazit_new_conversion = 1;
+ } else if (conversion === 'Existing Prescriber') {
+ sitazit_existing_conversion = 1;
+ }
+
+
+ let skuVal = $('#field-brand_sku').val();
+ if (skuVal) {
+ $('#report-form').append(
+ ''
+ );
+ $('#report-form').append(
+ ''
+ );
+
+ let sku_brand_map = sku_brand_maps.find(sb => sb.sku_code === skuVal);
+ if (sku_brand_map) {
+ $('#report-form').append(
+ ''
+ );
+ }
+ }
+ }
+
+
+ $('input[name="glipiq_rx_total"]').val(glipiq_rx_total);
+ $('input[name="glipiq_pob_total"]').val(glipiq_pob_total);
+ $('input[name="glipiq_new_conversion"]').val(glipiq_new_conversion);
+ $('input[name="glipiq_existing_conversion"]').val(glipiq_existing_conversion);
+ $('input[name="sitazit_new_conversion"]').val(sitazit_new_conversion);
+ $('input[name="sitazit_existing_conversion"]').val(sitazit_existing_conversion);
+
+
+
+
if($('#field-sankalp_lead_received_penvial').val() === 'Yes') {
$('#report-form').append('');
}