Commit 7056e0bc by Azhan Hannan

display current status in edit page

parent 85284a19
......@@ -14,11 +14,14 @@
<input type="text" name="description" value="{{ data_get($data,'o_overhead_desc') }}">
</div>
<?php
// dd($data);
?>
<div class="field">
<label>Role Status</label>
<select name="status" class="ui fluid dropdown">
<option value="1">Active</option>
<option value="0">Inactive</option>
<option value="1" @if(data_get($data,'o_overhead_sts') == 1) selected @endif>Active</option>
<option value="0" @if(data_get($data,'o_overhead_sts') == 0) selected @endif>Inactive</option>
</select>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment