After Production Quantity and Overall Validation
This commit is contained in:
@@ -11,9 +11,9 @@ class QualityValidation extends Model
|
||||
use SoftDeletes;
|
||||
|
||||
protected $fillable = [
|
||||
'item_id',
|
||||
'plant_id',
|
||||
'stickermaster_id ',
|
||||
'sticker_master_id',
|
||||
'plant_id',
|
||||
'production_order',
|
||||
'serial_number_motor',
|
||||
'serial_number_pump',
|
||||
'serial_number_pumpset',
|
||||
@@ -34,18 +34,13 @@ class QualityValidation extends Model
|
||||
'part_validation5',
|
||||
];
|
||||
|
||||
public function item(): BelongsTo
|
||||
public function stickerMaster(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Item::class);
|
||||
return $this->belongsTo(StickerMaster::class);
|
||||
}
|
||||
|
||||
public function plant(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Plant::class);
|
||||
}
|
||||
|
||||
public function stickermaster(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(StickerMaster::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user