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