Changed logic in sticker pdf service
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 16s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Larastan / larastan (pull_request) Failing after 34s
Laravel Pint / pint (pull_request) Failing after 46s

This commit is contained in:
dhanabalan
2026-09-21 18:21:43 +05:30
parent a4092b47b5
commit febd15ae1c

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 = [];