diff --git a/app/Controllers/ClientController.php b/app/Controllers/ClientController.php index 73d1cc0b..25d0064f 100644 --- a/app/Controllers/ClientController.php +++ b/app/Controllers/ClientController.php @@ -609,7 +609,7 @@ class ClientController extends AdminController $data['is_addon'] = $this->request->getPost('is_addon'); $data['base_policy'] = $this->request->getPost('base_policy'); $data['policy_status'] = 1; - $data['inception_type'] = $this->request->getPost('inception_type') ? 1 : 2; + $data['inception_type'] = $this->request->getPost('inception_type') ? 2 : 1; @@ -701,7 +701,7 @@ class ClientController extends AdminController $data['is_addon'] = $this->request->getPost('is_addon'); $data['base_policy'] = $this->request->getPost('base_policy'); $data['policy_status'] = 1; - $data['inception_type'] = $this->request->getPost('inception_type') ? 1 : 2; + $data['inception_type'] = $this->request->getPost('inception_type') ? 2 : 1; $policy_terms = $this->clientPolicyModel->where('id', $this->request->getPost('base_policy'))->first(); diff --git a/app/Controllers/EmpDataServiceController.php b/app/Controllers/EmpDataServiceController.php index 123e741f..f6871c13 100644 --- a/app/Controllers/EmpDataServiceController.php +++ b/app/Controllers/EmpDataServiceController.php @@ -123,12 +123,12 @@ class EmpDataServiceController extends BaseController // dd((Double) $totals, $insurer_id['insurer_id'], (Double) $cash_balance['balance']); - if((int) $totals < (int) $cash_balance['balance']){ + // if((int) $totals < (int) $cash_balance['balance']){ - dd($totals, $insurer_id['insurer_id'], $cash_balance['balance']); - } + // dd($totals, $insurer_id['insurer_id'], $cash_balance['balance']); + // } - dd($totals); + // dd($totals); // Log the count of exported data $count = count($objects);