Fix: Update settlements was broken and would remove the Amount and Roundoff settlements
Chore: SalesAnalysis report refactored
This commit is contained in:
1 parent
c52f382ec2
commit
e3f92da5ad
13 files changed
+394
-352
No files matched your search
@@ -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