Browse Source

[Administration] Export commandes PDF : correctif problème caractère "<" dans le nom des produits

feature/souke
Guillaume Bourgeois 11 months ago
parent
commit
1c8705375c
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      common/logic/Product/Product/Service/ProductSolver.php

+ 5
- 1
common/logic/Product/Product/Service/ProductSolver.php View File

return $product->reference; return $product->reference;
} }


return $product->name;
$productName = $product->name;
// le caractère "<" crée un problème dans le récapitulatif PDF des commandes
$productName = str_replace('<', '', $productName);

return $productName;
} }


public function isProductActiveByDay(Product $product, string $day): bool public function isProductActiveByDay(Product $product, string $day): bool

Loading…
Cancel
Save