$file) { $fl_col_max_len[0] = max($fl_col_max_len[0], mb_strlen((string) ($key + 1))); $fl_col_max_len[1] = max($fl_col_max_len[1], mb_strlen((string) ($file['file_name'] ?? ''))); $fl_col_max_len[2] = max($fl_col_max_len[2], mb_strlen((string) ($file['short_name'] ?? ''))); $fl_col_max_len[3] = max($fl_col_max_len[3], mb_strlen((string) ($file['branch_name'] ?? ''))); $policy_display = trim( (isset($file['policy_type']) ? $file['policy_type'] : '') . ' - ' . (isset($file['policy_no']) ? $file['policy_no'] : '') ); $fl_col_max_len[4] = max($fl_col_max_len[4], mb_strlen($policy_display)); $fl_col_max_len[5] = max($fl_col_max_len[5], mb_strlen((string) ($file['action'] ?? ''))); $userTime = change_date_format($file['created_at'] ?? '', 'Y-m-d H:i:s', 'd M Y h:i a') . ' by ' . ($file['first_name'] ?? ''); $fl_col_max_len[6] = max($fl_col_max_len[6], mb_strlen($userTime)); $st = (string) ($file['status'] ?? ''); $fl_col_max_len[7] = max($fl_col_max_len[7], mb_strlen($st)); if ($st === 'inprogress' || $st === 'success') { $fl_col_max_len[7] = max($fl_col_max_len[7], 12); } $fl_col_max_len[8] = max($fl_col_max_len[8], 4); } } $fl_col_min_px = [48, 100, 72, 80, 120, 88, 160, 96, 72]; $fl_col_max_px = [64, 320, 180, 180, 360, 160, 320, 200, 88]; $fl_col_width_px = nhance_dt_column_widths_px($fl_header_labels, $fl_col_max_len, $fl_col_min_px, $fl_col_max_px); ?>

Files

$file) { //print_r((json_decode($file['reason']))); // $reason = json_decode(($file['reason'])); // $reason = "{'date':'value data kbckl kcn/aksl'}"; // echo $reason; ?>
S.No
File name
Client
Client Branch
Policy
Event
User/Time
Status
Action
- ' . $file['first_name'] . '' ?> "; } else if ($file['status'] == 'inprogress') { if ($file['action'] == 'inception' || $file['action'] == 'addition' || $file['action'] == 'dependent_addtion') { $tool_tip_text = "Live(s) : {$file['employee_count']}" . " | Total premium : ₹ " . format_indian_number($file['total'], 2, ',') . " | Click to reload"; echo '' . $file['status'] . ''; }else{ echo '' . $file['status'] . ''; } } else if ($file['status'] == 'success') { if ($file['action'] == 'inception' || $file['action'] == 'addition' || $file['action'] == 'dependent_addtion') { $tool_tip_text = "Live(s) : {$file['employee_count']}" . " | Total premium : ₹ " . format_indian_number($file['total'], 2, ','); // $tool_tip_text = "dssd"; // Total Amount : $file['total']"; echo '' . $file['status'] . ''; }else{ echo '' . $file['status'] . ''; } }else{ echo '' . $file['status'] . ''; } ?>