numTotalTaxExcludedIncludingMarkdowns property
num?
get
numTotalTaxExcludedIncludingMarkdowns
Implementation
num? get numTotalTaxExcludedIncludingMarkdowns {
switch (ticketType) {
case TicketType.sell:
return totalPriceTaxExcludedMarkdownsIncluded;
case TicketType.sellDeferred:
return totalPriceTaxExcludedMarkdownsIncluded;
case TicketType.sellCovered:
return received;
case TicketType.spend:
return totalCostTaxExcludedIncludingMarkdowns;
case TicketType.spendDeferred:
return totalCostTaxExcludedIncludingMarkdowns;
case TicketType.spendCovered:
return received;
case TicketType.stockIn:
return 0;
case TicketType.stockOut:
return 0;
case TicketType.inventory:
return 0;
default:
return null; // corresponds to: return 'Type de ticket inconnu'
}
}