Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur
2026-01-26 19:35:29 +01:00
30 changed files with 298 additions and 197 deletions

View File

@@ -5807,6 +5807,8 @@ abstract class CommonObject
$this->tpl['strike'] = 0;
if ($restrictlist == 'services' && $line->product_type != Product::TYPE_SERVICE) {
$this->tpl['strike'] = 1;
} elseif ($line->special_code == SUBTOTALS_SPECIAL_CODE) {
$this->tpl['strike'] = 1;
}
// Output template part (modules that overwrite templates must declare this into descriptor)