Merge pull request 'changed logic in sticker pdf service' (#1285) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #1285
This commit was merged in pull request #1285.
This commit is contained in:
@@ -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