1
0
forked from poc/pds

added machine in sticker mapping master in sticker print page

This commit is contained in:
dhanabalan
2026-08-12 16:32:56 +05:30
parent 42b27afb41
commit c3b8bc3880

View File

@@ -318,6 +318,7 @@ class StickerPrint extends Page implements HasForms
$itemI = $item->id;
$mapping = StickerMappingMaster::where('plant_id', $plantId)
->where('machine_id', $workCenter)
->where('item_characteristic_id', $itemI)
->first();
@@ -420,8 +421,6 @@ class StickerPrint extends Page implements HasForms
// 'path' => basename($tempPdfPath),
// ]);
$pdfUrls[] = route('sticker.preview', ['path' => basename($tempPdfPath)]);
}
$this->dispatch('open-sticker-pdf', urls: $pdfUrls);