GWM
This commit is contained in:
parent
aed8cddad7
commit
7ebccf9477
@ -265,7 +265,13 @@ function getData($table,$id,$business_id)
|
||||
$this->db->select();
|
||||
$this->db->from($table);
|
||||
if($business_id != NULL) {
|
||||
$this->db->where('business_id', $business_id);
|
||||
if($table == 'business')
|
||||
{
|
||||
$this->db->where('uid', $business_id);
|
||||
}
|
||||
else {
|
||||
$this->db->where('business_id', $business_id);
|
||||
}
|
||||
}
|
||||
$this->db->where('id', $id);
|
||||
$query = $this->db->get();
|
||||
|
||||
@ -57,12 +57,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="item form-group">
|
||||
<label class="control-label col-md-1 col-sm-1 " for="last-name">Status <a style="color:red;">*</a> </label>
|
||||
<div class="col-md-5 col-sm-5 ">
|
||||
<input id="status" name="status" value="<?php echo $businessData->status; ?>" required="required" class="form-control" type="text" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<br /> <div class="x_title"> </div> <br />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user