Project

General

Profile

Edit Copy Actions

Feature #7462

closed

implement multiple payments in expenses

Added by Anonymous about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
02/04/2026
Due date:
02/04/2026
% Done:

100%

Estimated time:
5:00 h
Spent time:

Description

Added payments array in Expense schema to track multiple payments.

Added paidAmount and dueAmount fields, calculated automatically with Mongoose pre-save hooks.

Created API to add payments with validation to prevent overpayment.

Updated GET API to filter expenses by paidBy inside the payments array using aggregation

write an apis for for expense stats

alter get expense apis make sure to support latest chages without crashing


Add

Subtasks


Add

Related issues

Updated by Anonymous about 1 month ago

  • % Done changed from 0 to 100

Added payments array in Expense schema to track multiple payments.

Added paidAmount and dueAmount fields, calculated automatically with Mongoose pre-save hooks.

Created API to add payments with validation to prevent overpayment.

Updated GET API to filter expenses by paidBy inside the payments array using aggregation

write an apis for for expense stats

alter get expense apis make sure to support latest chages without crashing

Actions #2

Updated by Kalyan Ravula about 1 month ago

  • Status changed from New to Closed
Edit Copy Actions

Also available in: Atom PDF