Ignorer les différences de coût pour regrouper
This commit is contained in:
parent
474a6a7ed8
commit
6b96f73b7a
@ -151,7 +151,7 @@ export class RdDItem extends Item {
|
||||
if (tplData.quantite == undefined) return false;
|
||||
|
||||
for (const [key, value] of Object.entries(tplData)) {
|
||||
if (['quantite', 'encTotal', 'prixTotal'].includes(key)) continue;
|
||||
if (['quantite', 'encTotal', 'prixTotal', 'cout'].includes(key)) continue;
|
||||
if (value != otherTplData[key]) return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user