Révision 10 UnitIngredientEditionOriginal.pas
UnitIngredientEditionOriginal.pas | ||
---|---|---|
433 | 433 |
Sucres := InputProximal(ValidateEditSucres.AsFloat, RapMS, ProximalUnit div 2, ProximalUnit mod 2) |
434 | 434 |
else |
435 | 435 |
Sucres := 0; |
436 |
if MM + MAT + MG + Fibre + Amidon + Sucres > 1.05
|
|
436 |
if MM + MAT + MG + Fibre + Amidon + Sucres > MAX_SUM
|
|
437 | 437 |
then |
438 | 438 |
if MessageDlg(_('The sum of nutrients is estimated to more than 100% of the dry matter.' + sLineBreak + 'Are you sure you want to continue?'), mtError, [mbYes, mbNo], 0) <> mrYes |
439 | 439 |
then |
Formats disponibles : Unified diff