updated motor and pump scanning logic

This commit is contained in:
dhanabalan
2025-04-10 20:24:04 +05:30
parent 57c3a876bd
commit 2ccad83e67
6 changed files with 177 additions and 40 deletions

View File

@@ -26,6 +26,7 @@ class InvoiceValidation extends Model
'upload_status',
'batch_number',
'quantity',
'operator_id',
];
public function plant(): BelongsTo
@@ -37,6 +38,10 @@ class InvoiceValidation extends Model
{
return $this->belongsTo(StickerMaster::class);
}
public function stickerMasterRelation()
{
return $this->belongsTo(StickerMaster::class, 'sticker_master_id');
}
}