This commit is contained in:
Kevin Adametz 2020-05-06 15:52:59 +02:00
parent 68b9d1ff88
commit b9c26d06d0
75 changed files with 2143 additions and 818 deletions

View file

@ -33,14 +33,23 @@ class ServiceProvider extends Model
protected $table = 'service_provider';
public $timestamps = false;
public static $types = [
'payment' => 'payment',
'discount' => 'discount',
];
protected $casts = [
'dollar' => 'bool'
];
'dollar' => 'bool',
'active' => 'bool',
'contact_emails' => 'array'
];
protected $fillable = [
'name',
'dollar',
'type'
'type',
'contact_emails',
'active'
];
public function service_provider_entries()