FIX_REUPLOAD_POLICY_ISSUE_DATE_NOT_CAPTURED_IN_BATCH_FILE_TABLE
This commit is contained in:
parent
bfcd7d4049
commit
1ba46847f8
@ -445,6 +445,7 @@ class EmployeeController extends AdminController
|
||||
batch_files.amount,
|
||||
batch_files.status,
|
||||
batch_files.client_branch_id,
|
||||
DATE_FORMAT(batch_files.policy_issue_date, '%d/%m/%Y') AS policy_issue_date,
|
||||
|
||||
CASE
|
||||
WHEN batch_files.status IN ('partially success', 'in-progress-partially', 'failed-7')
|
||||
|
||||
@ -168,6 +168,7 @@
|
||||
data-event_type="<?= $file['event_type'] ?>"
|
||||
data-actions="<?= $file['actions'] ?>"
|
||||
data-client_branch_id="<?= $file['client_branch_id'] ?>"
|
||||
data-issue_date="<?= $file['policy_issue_date'] ?>"
|
||||
|
||||
onclick="getBatchFileData(this)" class="dropdown-item upload_button" ><i class="mdi mdi-upload mr-2 text-muted font-18 vertical-middle"></i>Re-Upload</a>
|
||||
<?php } ?>
|
||||
@ -215,6 +216,7 @@
|
||||
<input type="hidden" id="batch_file_insurer_or_tpa" name="insurer_or_tpa">
|
||||
<input type="hidden" id="batch_file_action_type" name="action_type">
|
||||
<input type="hidden" id="batch_file_event_type" name="event_type">
|
||||
<input type="hidden" id="batch_file_issue_date" name="policy_issue_date">
|
||||
<input type="file" id="import_file_data" name="import_file_data" required
|
||||
accept=" application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,application/vnd.oasis.opendocument.spreadsheet">
|
||||
|
||||
@ -329,6 +331,7 @@
|
||||
let insurer_or_tpa = $(input).data('insurer_or_tpa')
|
||||
let event_type = $(input).data('event_type')
|
||||
let actions = $(input).data('actions')
|
||||
let issue_date = $(input).data('issue_date')
|
||||
|
||||
console.log('client_id', client_id);
|
||||
console.log('client_policy_id', client_policy_id);
|
||||
@ -336,6 +339,7 @@
|
||||
console.log('insurer_or_tpa', insurer_or_tpa);
|
||||
console.log('event_type', event_type);
|
||||
console.log('actions', actions);
|
||||
console.log('issue_date', issue_date);
|
||||
|
||||
$('#batch_file_client_id').val(client_id);
|
||||
$('#batch_file_policy_id').val(client_policy_id);
|
||||
@ -343,6 +347,7 @@
|
||||
$('#batch_file_insurer_or_tpa').val(insurer_or_tpa);
|
||||
$('#batch_file_action_type').val(actions);
|
||||
$('#batch_file_event_type').val(event_type);
|
||||
$('#batch_file_issue_date').val(issue_date);
|
||||
|
||||
|
||||
var myModal = new bootstrap.Modal(document.getElementById('batch_file_upload_modal'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user