Changed logic in sticker pdf service #1073

Merged
jothi merged 1 commits from ranjith-dev into master 2026-09-21 12:51:59 +00:00

View File

@@ -10,6 +10,7 @@ use App\Models\StickerMappingMaster;
use App\Models\StickerStructureDetail; use App\Models\StickerStructureDetail;
use App\Models\StickerValidation; use App\Models\StickerValidation;
use App\Models\TestApprovalMapping; use App\Models\TestApprovalMapping;
use App\Models\ClassCharacteristic;
use Illuminate\Http\Response; use Illuminate\Http\Response;
use Illuminate\Support\Collection; use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log; 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 = []; $dynamicValueMap = [];