Cron Jobs, Reminder, Fonts, Members / Wizard / Price, Credit and Promotion
This commit is contained in:
parent
a0f4eda6ea
commit
6167273a48
204 changed files with 8746 additions and 215 deletions
|
|
@ -42,19 +42,17 @@ class UserLevel extends Model
|
|||
{
|
||||
protected $table = 'user_levels';
|
||||
|
||||
protected $casts = ['trans_name' => 'array', 'trans_content' => 'array', 'partner_provision'=>'bool'];
|
||||
protected $casts = ['trans_name' => 'array',
|
||||
'trans_content' => 'array',
|
||||
'partner_provision'=>'bool',
|
||||
'payment_year' => 'bool',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'content', 'pos', 'active', 'partner_provision',
|
||||
'name', 'content', 'pos', 'payment_year', 'active', 'partner_provision',
|
||||
];
|
||||
|
||||
|
||||
/* public function childrens()
|
||||
{
|
||||
return $this->hasMany('App\Models\Attribute', 'parent_id', 'id');
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
public function user_level_margins()
|
||||
{
|
||||
|
|
@ -71,7 +69,6 @@ class UserLevel extends Model
|
|||
|
||||
}
|
||||
|
||||
|
||||
public function _format_number($value){
|
||||
return preg_replace("/[^0-9,]/", "", $value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue