Team2 (Report Smartian )
Specific Folder FTP Upload / ftp-deploy (push) Successful in 41s Details

This commit is contained in:
zeeshan 2026-09-28 17:20:26 +05:30
parent 35cd2119ed
commit e94c2424e2
1 changed files with 8 additions and 10 deletions

View File

@ -122,10 +122,7 @@ if (!empty($submissions->data->submissions)) {
<input type="hidden" name="form_id" value="{{$form_id}}">
<input type="hidden" name="record_date" value="" id="field-record_date">
@csrf
<input type="hidden" name="dpi_adh_total" value="0" >
<input type="hidden" name="mdi_adh_total" value="0" >
<input type="hidden" name="sb_adh_total" value="0" >
<input type="hidden" name="adh_total" value="0" >
@if($id)
<input type="hidden" name="id" value="{{$id}}">
@ -702,15 +699,16 @@ if (!empty($submissions->data->submissions)) {
dpiAdhTotal = val200 + val400;
let dpiAdhTotal = val200 + val400;
let mdiAdhTotal=syncrobrethe_200+syncrobrethe_400;
let sbiAdhTotal=foracort_syncrobrethe_200+foracort_syncrobrethe_400;
let total=dpiAdhTotal+mdiAdhTotal+sbiAdhTotal;
let total_adh=dpiAdhTotal+mdiAdhTotal+sbiAdhTotal;
$('#report-form').append('<input type="hidden" name="dpi_adh_total" value="'+dpiAdhTotal+'" />');
$('#report-form').append('<input type="hidden" name="mdi_adh_total" value="'+mdiAdhTotal+'" />');
$('#report-form').append('<input type="hidden" name="sbi_adh_total" value="'+sbiAdhTotal+'" />');
$('#report-form').append('<input type="hidden" name="total_adh" value="'+total_adh+'" />');
$('input[name="dpi_adh_total"]').val(dpiAdhTotal);
$('input[name="mdi_adh_total"]').val(mdiAdhTotal);
$('input[name="sb_adh_total"]').val(sbiAdhTotal);
$('input[name="adh_total"]').val(total);
console.log("dpi_adh_total:", dpiAdhTotal);
console.log("mdi_adh_total:", mdiAdhTotal);