- {formatFilament(spool.filament)}
-
-
- #{spool.id}
- {spool.filament.material && <> - {spool.filament.material}>}
-
- {showSpoolWeight && (
- <>
-
- {t("printing.qrcode.spoolWeight", { weight: `${spool.filament.spool_weight ?? "?"} g` })}
- >
- )}
- {showTemperatures && tempLine && (
- <>
-
- {tempLine}
- >
- )}
- {showLotNr && (
- <>
-
- {t("printing.qrcode.lotNr", { lot: spool.lot_nr ?? "?" })}
- >
- )}
- {showSpoolComment && spool.comment && (
- <>
-
- {spool.comment}
- >
- )}
- {showFilamentComment && spool.filament.comment && (
- <>
-
- {spool.filament.comment}
- >
- )}
- {showVendorComment && spool.filament.vendor?.comment && (
- <>
-
- {spool.filament.vendor.comment}
- >
- )}
+ {renderLabelContents(template, spool)}