|
|
@ -12,12 +12,12 @@ class IndustryOrder extends BaseModel |
|
|
|
|
|
|
|
|
public function supplier() |
|
|
public function supplier() |
|
|
{ |
|
|
{ |
|
|
return $this->belongsTo(Supplier::class); |
|
|
|
|
|
|
|
|
return $this->belongsTo(Supplier::class)->withTrashed(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function agent() |
|
|
public function agent() |
|
|
{ |
|
|
{ |
|
|
return $this->belongsTo(Agent::class); |
|
|
|
|
|
|
|
|
return $this->belongsTo(Agent::class)->withTrashed(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function industryProduct() |
|
|
public function industryProduct() |
|
|
|