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_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);
|
||||
|
@ -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-->
|
||||
|
Loading…
Reference in New Issue
Block a user