crm
This commit is contained in:
@@ -11,7 +11,7 @@ class Channel extends Model
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'channel';
|
||||
protected $table = 'inquiry_channel';
|
||||
|
||||
/**
|
||||
* The primary key associated with the table.
|
||||
@@ -42,7 +42,7 @@ class Channel extends Model
|
||||
|
||||
public static function getAll()
|
||||
{
|
||||
$list = self::get()->select('id','name','name_en','status')->where('status',0)->toArray();
|
||||
$list = self::get()->select('id','name','name_en','status')->where('status',1)->toArray();
|
||||
return $list;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user