fiscal year status

This commit is contained in:
Sampanna Rimal 2024-07-17 17:31:12 +05:45
parent a44570897c
commit c349ab3173
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ class Fiscalyear extends CI_Controller
'created_by' => 'admin',
'created_on' => date('Y-m-d H:i:s'),
'remarks' => filter_var($_POST['remarks']),
'status' => isset($_POST['status']) ? $_POST['status'] : 1,
'status' => filter_var($_POST['status']),
);
$this->db->where('fiscalyear_id', $id);
$this->db->update('tbl_fiscalyear', $TableData);

View File

@ -66,7 +66,7 @@
<!--COL START-->
<div class="col">
<div class="form-group">
<!-- <div class="form-group">
<label for="remarks">Status</label>
<select name="status" class="form-control">
@ -74,7 +74,7 @@
<option value="1" <?php if ($Fiscalyear->status == 1) echo "SELECTED"; ?>>Enable</option>
</select>
</div>
</div> -->
</div>
<!--COL END-->