Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Biz.Finances.V2.0
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Kivii.Biz.Finances.V2.0
Commits
7045303b
Commit
7045303b
authored
Dec 29, 2023
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
e65a16c3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+2
-2
RestfulInvoice.Offset.Deficit.cs
Src/Transforms/RestfulInvoice.Offset.Deficit.cs
+1
-1
No files found.
Src/Properties/AssemblyInfo.cs
View file @
7045303b
...
@@ -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.12
13
0")]
[assembly: AssemblyVersion("5.4.2023.12
29
0")]
[assembly: AssemblyFileVersion("5.4.2023.12
13
0")]
[assembly: AssemblyFileVersion("5.4.2023.12
29
0")]
Src/Transforms/RestfulInvoice.Offset.Deficit.cs
View file @
7045303b
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment