Commit 7045303b by 陶然

优化

parent e65a16c3
...@@ -33,5 +33,5 @@ using System.Runtime.InteropServices; ...@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示: //通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2023.12130")] [assembly: AssemblyVersion("5.4.2023.12290")]
[assembly: AssemblyFileVersion("5.4.2023.12130")] [assembly: AssemblyFileVersion("5.4.2023.12290")]
...@@ -52,7 +52,7 @@ namespace Kivii.Finances.Transforms ...@@ -52,7 +52,7 @@ namespace Kivii.Finances.Transforms
if (!splitPayments.IsNullOrEmpty())//要是所选Payment存在拆分项,满足条件就要更新AmountInvoice if (!splitPayments.IsNullOrEmpty())//要是所选Payment存在拆分项,满足条件就要更新AmountInvoice
{ {
decimal amountInvoice = 0; decimal amountInvoice = 0;
amountInvoice.PopulateWith(item.AmountInvoice);// = payment.AmountInvoice; amountInvoice = item.AmountInvoice;
foreach (var split in splitPayments) foreach (var split in splitPayments)
{ {
if (amountInvoice <= 0) split.AmountInvoice = 0; if (amountInvoice <= 0) split.AmountInvoice = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment