Add SPN suffix to field name

This commit is contained in:
Jan Böhmer 2025-07-06 13:01:10 +02:00
parent e1034806aa
commit 0c7c8aaf90

View file

@ -244,7 +244,9 @@ class KiCadHelper
foreach ($part->getOrderdetails(false) as $orderdetail) {
if ($orderdetail->getSupplier() !== null && $orderdetail->getSupplierPartNr() !== '') {
$supplierName = $orderdetail->getSupplier()->getName();
$supplierName .= " SPN"; // Append "SPN" to the supplier name to indicate Supplier Part Number
if (!isset($supplierCounts[$supplierName])) {
$supplierCounts[$supplierName] = 0;
}