FIX_INSURER_STATEMENT_UPLOAD_INSURER_DROPDOWN_ISSUE
This commit is contained in:
parent
56d3c148c3
commit
829721383c
@ -5644,7 +5644,7 @@ class ClientController extends AdminController
|
||||
}
|
||||
|
||||
public function sendextraparam()
|
||||
{
|
||||
{
|
||||
// $data = db_connect()->table('jobs')->where('id', 1677)->get()->getRowArray();
|
||||
// // dd($data);
|
||||
// $return = $this->updatePolicyTransactionDataWhileClinetPolicyUpdate(json_decode($data['payload'], true));
|
||||
@ -5661,7 +5661,7 @@ class ClientController extends AdminController
|
||||
|
||||
// $employeeController = new EmployeeController();
|
||||
// $employeeController->truncateFileData('633');
|
||||
$res = $this->getHrAccessData(4005); dd($res);
|
||||
// $res = $this->getHrAccessData(4005); dd($res);
|
||||
|
||||
// ---------- TICKET SERVICE CONTROLLER --------------------------------------------------------------------------------
|
||||
|
||||
@ -5702,7 +5702,7 @@ class ClientController extends AdminController
|
||||
// ---------- POLICY TRANSACTION CONTROLLER --------------------------------------------------------------------------------
|
||||
|
||||
$policyTransactionController = new PolicyTransactionController();
|
||||
// $res = $policyTransactionController->validateInsurerStatement(['file_id' => '57']);
|
||||
// $res = $policyTransactionController->validateInsurerStatement(['file_id' => '60']);
|
||||
// $res = $policyTransactionController->updateInsurerStatement(['file_id' => '22']);
|
||||
// dd('-----', $res);
|
||||
|
||||
@ -7236,7 +7236,6 @@ class ClientController extends AdminController
|
||||
$post_hr_id = $value['post_hr_id'];
|
||||
|
||||
// $preBranchId = $this->getPreBranchIdByPostBranchId($post_branch_id);
|
||||
|
||||
// if (!empty($preBranchId)) {
|
||||
// $value['pre_branch_id'] = $preBranchId;
|
||||
// $value['pre_client_id'] = $this->getPreClientIdByPreBranchId($preBranchId);
|
||||
|
||||
@ -506,7 +506,8 @@ class EmployeeRestController extends AdminController
|
||||
if ($dateTime instanceof \DateTime) {
|
||||
return $dateTime->format('Y-m-d');
|
||||
} else {
|
||||
return null;
|
||||
// return null;
|
||||
return change_date_format($dateString);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2187,6 +2187,8 @@
|
||||
->join('insurer_branch', 'insurer_statements.branch_id = insurer_branch.id')
|
||||
->join('user_profiles', 'insurer_statements.created_by = user_profiles.id')
|
||||
->where('insurer_statements.is_active', 1)
|
||||
->where('insurers.is_active', 1)
|
||||
->where('insurer_branch.is_active', 1)
|
||||
// ->where('insurer_statements.file_status','success')
|
||||
->where('date(insurer_statements.created_at) >= ', $from_date)
|
||||
->where('date(insurer_statements.created_at) <= ', $today)
|
||||
@ -2382,7 +2384,7 @@
|
||||
$excel_data = $sheet->rangeToArray('A1:' . $highestRowAndColumn['column'] . $highestRowAndColumn['row']);
|
||||
unset($excel_data[0]);
|
||||
$excel_data = ExcelSanitizeHelper::sanitizeArrayData($excel_data);
|
||||
// Kint::dump($excel_data);die();
|
||||
// Kint::dump($excel_data); // die();
|
||||
//get no of line items and update in DB
|
||||
$line_items = 0;
|
||||
// get uploaded month transactions data
|
||||
|
||||
@ -29,6 +29,8 @@ class InsurerBranchModel extends Model
|
||||
{
|
||||
$query = $this->select('insurer_branch.*, I.short_name as insurer_name, I.category')
|
||||
->join('insurers I', 'insurer_branch.insurer_id = I.id', 'left')
|
||||
->where('I.is_active', 1)
|
||||
->where('insurer_branch.is_active', 1)
|
||||
->find();
|
||||
return $query;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user