fix(treasury): apply a full receipt or payment to the party's open balance

A settled document of the same amount no longer leaves an existing remaining unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-10 10:45:59 +03:30
co-authored by Cursor
parent 96105468d4
commit ba7f942059
5 changed files with 318 additions and 27 deletions
+2
View File
@@ -6630,6 +6630,8 @@ export interface TreasuryPartyBalanceDto {
amount: string;
settledAmount: string;
remaining: string;
/** بخشی از مانده که با دریافت/پرداخت روی سندهای باز کم می‌شود */
documentRemaining: string;
}
export interface TreasuryDashboardDto {