Added three column sin process model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Laravel Pint / pint (pull_request) Successful in 4m49s
Laravel Larastan / larastan (pull_request) Failing after 5m52s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Laravel Pint / pint (pull_request) Successful in 4m49s
Laravel Larastan / larastan (pull_request) Failing after 5m52s
This commit is contained in:
@@ -12,6 +12,7 @@ class ProcessOrder extends Model
|
|||||||
|
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'plant_id',
|
'plant_id',
|
||||||
|
'line_id',
|
||||||
'item_id',
|
'item_id',
|
||||||
'process_order',
|
'process_order',
|
||||||
'coil_number',
|
'coil_number',
|
||||||
@@ -19,6 +20,8 @@ class ProcessOrder extends Model
|
|||||||
'received_quantity',
|
'received_quantity',
|
||||||
'sfg_number',
|
'sfg_number',
|
||||||
'machine_name',
|
'machine_name',
|
||||||
|
'scrap_quantity',
|
||||||
|
'rework_status',
|
||||||
'created_at',
|
'created_at',
|
||||||
'created_by',
|
'created_by',
|
||||||
'updated_by',
|
'updated_by',
|
||||||
@@ -30,7 +33,12 @@ class ProcessOrder extends Model
|
|||||||
return $this->belongsTo(Plant::class);
|
return $this->belongsTo(Plant::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function item()
|
public function line(): BelongsTo
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Line::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function item(): BelongsTo
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Item::class, 'item_id');
|
return $this->belongsTo(Item::class, 'item_id');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user