diff --git a/.cpanel.yml b/.cpanel.yml new file mode 100644 index 00000000..944de66e --- /dev/null +++ b/.cpanel.yml @@ -0,0 +1,5 @@ +--- +deployment: + tasks: + - export DEPLOYPATH=/home/example/public_html/ + - /bin/cp . $DEPLOYPATH \ No newline at end of file diff --git a/app/Controllers/LoginController.php b/app/Controllers/LoginController.php index 1d646d01..4e677e88 100644 --- a/app/Controllers/LoginController.php +++ b/app/Controllers/LoginController.php @@ -15,8 +15,8 @@ class LoginController extends BaseController public function index(){ - $session_data = ['isLoggedIn' => True ,'userid' => '25']; - set_session_data($session_data); + //$session_data = ['isLoggedIn' => True ,'userid' => '25']; + //set_session_data($session_data); // $isLoggedIn = check_session(); $isLoggedIn = check_session(); diff --git a/app/Models/PolicesModel.php b/app/Models/PolicesModel.php index a6194255..d6a8182e 100644 --- a/app/Models/PolicesModel.php +++ b/app/Models/PolicesModel.php @@ -1,12 +1,11 @@ ( Image dimensions 100 x 100 pixels and size of 200KB. )
| Action | - + - +||
|---|---|---|
| - + insurer_name;?> + | - insurer_name;?> - - -₹ - insurer_id; + insurer_id; + // Check if the balance information exists for the insurer + if (isset($balances[$insurerId])) { + $balance = $balances[$insurerId]->balance; + echo $balance; + } else { + echo "N/A"; // Display "Not Available" if balance information is not present + } + ?> - // Check if the balance information exists for the insurer - if (isset($balances[$insurerId])) { - $balance = $balances[$insurerId]->balance; - echo $balance; - } else { - echo "N/A"; // Display "Not Available" if balance information is not present - } - ?> - | - insurer_id}?client_id={$value->client_id}"); ?>"> - View Deposit - - | + insurer_id}?client_id={$value->client_id}"); ?>"> + View Deposit + + + -
Deposits
-Consumed
-Refund
-Current Balance
-Deposits
+Consumed
+Refund
+Current Balance
+| Date | User | Description | Sub Type | Credit | Debit | - -Balnce | - -
|---|---|---|---|---|---|---|
| created_at)); ?> | -username; ?> | -description; ?> | -sub_type]) ? $subTypeOptions[$row->sub_type] : ''; ?> | -transaction_type == 'Credit') ? $row->amount : ''; ?> | -transaction_type == 'Debit') ? $row->amount : ''; ?> | -balance; ?> | - - - - -