Fill cells with null if amount is zero
This commit is contained in:
parent
e4aa8dff93
commit
cd657e10b4
@ -133,11 +133,18 @@ namespace RhSolutions.Services
|
||||
cell.AddValue(amount);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (amount == 0)
|
||||
{
|
||||
cell.Value2 = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
cell.Value2 = amount;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void FillAmounts(KeyValuePair<Product, double> positionAmount, params int[] columns)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user