changed logic in sticker pdf service #1285
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user