Merge pull request 'Solved bug in sticker pdf service' (#1606) from ranjith-dev into master
Some checks are pending
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Waiting to run
Some checks are pending
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Waiting to run
Reviewed-on: #1606
This commit was merged in pull request #1606.
This commit is contained in:
@@ -1180,7 +1180,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->address;
|
$textValue = $plantRegdAddress->reg_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