Merge pull request 'Changed logic in sticker pdf service' (#1073) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s

Reviewed-on: #1073
This commit was merged in pull request #1073.
This commit is contained in:
2026-09-21 12:51:58 +00:00

View File

@@ -10,6 +10,7 @@ use App\Models\StickerMappingMaster;
use App\Models\StickerStructureDetail;
use App\Models\StickerValidation;
use App\Models\TestApprovalMapping;
use App\Models\ClassCharacteristic;
use Illuminate\Http\Response;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
@@ -1043,7 +1044,7 @@ class StickerPdfService
}
}
public function generateTemplate(string $stickerId,Collection $dynamicElements,?ItemCharacteristic $itemCharacteristic,$itemCode,$plantId, $machineId)
public function generateTemplate(string $stickerId,Collection $dynamicElements,?ClassCharacteristic $itemCharacteristic,$itemCode,$plantId, $machineId)
{
$dynamicValueMap = [];