mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-09-01 19:04:22 +00:00
update packinglists from vt portal
This commit is contained in:
+3
-13
@@ -10,22 +10,12 @@ class Step extends AbstractModel
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'order_steps';
|
||||
protected $table = 'steps';
|
||||
|
||||
protected $fillable = ['status'];
|
||||
|
||||
protected $dates = ['deleted_at'];
|
||||
|
||||
protected $fillable = ['order_id','appointee_id','reference','primary','sequence','status','contract_status','complete_date','unity_hash_id'];
|
||||
|
||||
public function companyModule(): belongsTo
|
||||
{
|
||||
return $this->belongsTo(CompanyModule::class, 'appointee_id', 'id');
|
||||
}
|
||||
|
||||
public function orderRole(): belongsTo
|
||||
{
|
||||
return $this->belongsTo(OrderRole::class, 'appointee_id', 'company_module_id');
|
||||
}
|
||||
|
||||
public function owner(): morphTo
|
||||
{
|
||||
return $this->morphTo();
|
||||
|
||||
Reference in New Issue
Block a user