fiscal year status
This commit is contained in:
parent
a44570897c
commit
c349ab3173
@ -40,7 +40,7 @@ class Fiscalyear extends CI_Controller
|
|||||||
'created_by' => 'admin',
|
'created_by' => 'admin',
|
||||||
'created_on' => date('Y-m-d H:i:s'),
|
'created_on' => date('Y-m-d H:i:s'),
|
||||||
'remarks' => filter_var($_POST['remarks']),
|
'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->where('fiscalyear_id', $id);
|
||||||
$this->db->update('tbl_fiscalyear', $TableData);
|
$this->db->update('tbl_fiscalyear', $TableData);
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
<!--COL START-->
|
<!--COL START-->
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
|
||||||
<div class="form-group">
|
<!-- <div class="form-group">
|
||||||
|
|
||||||
<label for="remarks">Status</label>
|
<label for="remarks">Status</label>
|
||||||
<select name="status" class="form-control">
|
<select name="status" class="form-control">
|
||||||
@ -74,7 +74,7 @@
|
|||||||
<option value="1" <?php if ($Fiscalyear->status == 1) echo "SELECTED"; ?>>Enable</option>
|
<option value="1" <?php if ($Fiscalyear->status == 1) echo "SELECTED"; ?>>Enable</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!--COL END-->
|
<!--COL END-->
|
||||||
|
Loading…
Reference in New Issue
Block a user