fix(checkout): use full email template with PDF attachment for checkout confirmations
Some checks failed
Staging Build / build (push) Failing after 24s

This commit is contained in:
DanielS
2026-07-10 09:45:21 +02:00
parent 0679fdfdd7
commit ec1ad4d444
2 changed files with 114 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ import { getOrderEmailTemplate, getStatusEmailTemplate } from '@/lib/actions/ema
// ─── Hilfsfunktionen ─────────────────────────────────────────────────────────
function buildEmailItemsSection(items: any[]) {
export function buildEmailItemsSection(items: any[]) {
const groupedItems: { [key: string]: any[] } = {}
items.forEach((item: any) => {
const devName = item.device_name || 'Kasse 1'