diff --git a/app/Services/StickerPdfService.php b/app/Services/StickerPdfService.php index 0c752b5c..999e374a 100644 --- a/app/Services/StickerPdfService.php +++ b/app/Services/StickerPdfService.php @@ -1180,7 +1180,7 @@ class StickerPdfService $cName = Company::where('name', 'CRI')->first(); $plantRegdAddress = Plant::where('company_id', $cName->id)->where('id', $plantId)->first(); - $textValue = $plantRegdAddress->address; + $textValue = $plantRegdAddress->reg_address; } else if($textValue == 'GENVIK'){ $cName = Company::where('name', 'GENVIK')->first();