changed logic in sticker pdf service #1285

Merged
jothi merged 1 commits from ranjith-dev into master 2026-10-20 06:29:57 +00:00

View File

@@ -1174,7 +1174,7 @@ class StickerPdfService
$cName = Company::where('name', 'CRI')->first(); $cName = Company::where('name', 'CRI')->first();
$plantRegdAddress = Plant::where('company_id', $cName->id)->where('id', $plantId)->first(); $plantRegdAddress = Plant::where('company_id', $cName->id)->where('id', $plantId)->first();
$textValue = $plantRegdAddress->reg_address; $textValue = $plantRegdAddress->address;
} }
else if($textValue == 'GENVIK'){ else if($textValue == 'GENVIK'){
$cName = Company::where('name', 'GENVIK')->first(); $cName = Company::where('name', 'GENVIK')->first();