Merge pull request 'added machine in sticker mapping master in sticker print page' (#890) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
Reviewed-on: #890
This commit was merged in pull request #890.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user