Fix: Update settlements was broken and would remove the Amount and Roundoff settlements
Chore: SalesAnalysis report refactored
This commit is contained in:
@ -401,7 +401,6 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
return;
|
||||
IDictionary<SettleOption, decimal> options;
|
||||
var amount = -1 * _billInfo.Kots.Sum(x => x.Inventories.Sum(y => y.Amount));
|
||||
VoucherSettlementBI.UpdateSettlements(_billInfo.Settlements, amount);
|
||||
using (var frm = new SettleChoicesForm(Math.Round(amount) * -1, _billInfo.VoucherType))
|
||||
{
|
||||
frm.ShowDialog();
|
||||
|
||||
Reference in New Issue
Block a user