From 9a73d8b5c9e8a7ef0067e9105b4434e5e6db8e19 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 11 Apr 2025 18:56:42 +0200 Subject: [PATCH] #7423 --- .../FluidbookPublication/Services/PumaOperation.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/Admin/Operations/FluidbookPublication/Services/PumaOperation.php b/app/Http/Controllers/Admin/Operations/FluidbookPublication/Services/PumaOperation.php index a48a2433f..3505caf9f 100644 --- a/app/Http/Controllers/Admin/Operations/FluidbookPublication/Services/PumaOperation.php +++ b/app/Http/Controllers/Admin/Operations/FluidbookPublication/Services/PumaOperation.php @@ -43,8 +43,8 @@ trait PumaOperation continue; } $r[$reference] = $data; - $title = trim(trim($data['Catégorie']) . ' ' . trim($data['RBU'])); - $subtitle = trim(trim($data['Age Group']) . ' - ' . trim($data['Product Line']), '- '); + $title = trim(trim($data['Catégorie']??'') . ' ' . trim($data['RBU']??'')); + $subtitle = trim(trim($data['Age Group']??'') . ' - ' . trim($data['Product Line']??''), '- '); $key = md5($title . $subtitle); if (!isset($planches[$key])) { $planches[$key] = ['class' => $data['Catégorie'], 'title' => $title, 'subtitle' => $subtitle, 'products' => []]; @@ -72,9 +72,9 @@ trait PumaOperation $html .= ''; $html .= '
'; $html .= '

' . $reference . '

'; - $html .= '
' . $product['Désignation'] . '
'; - $html .= '
' . $product['Color Name'] . '
'; - $html .= '
PA : ' . number_format(floatval($product['Tarif']), 2, ',', ' ') . ' € / PVP : ' . number_format(floatval($product['PVC']), 2, ',', ' ') . ' €
'; + $html .= '
' . $product['Désignation']??'' . '
'; + $html .= '
' . $product['Color Name']??''. '
'; + $html .= '
PA : ' . number_format(floatval($product['Tarif']??0), 2, ',', ' ') . ' € / PVP : ' . number_format(floatval($product['PVC']??0), 2, ',', ' ') . ' €
'; $html .= '
'; $html .= ''; } -- 2.39.5