made chnages to expense category of type

This commit is contained in:
Vaibhav Surve 2025-11-11 12:53:55 +05:30
parent b1f5fb8d78
commit 3543770654
2 changed files with 2 additions and 2 deletions

View File

@ -454,7 +454,7 @@ class AddExpenseController extends GetxController {
return {
if (isEditMode.value && editingExpenseId != null) "id": editingExpenseId,
"projectId": projectsMap[selectedProject.value]!,
"expensesTypeId": type.id,
"expenseCategoryId": type.id,
"paymentModeId": selectedPaymentMode.value!.id,
"paidById": selectedPaidBy.value!.id,
"transactionDate":

View File

@ -1921,7 +1921,7 @@ class ApiService {
}) async {
final payload = {
"projectId": projectId,
"expensesTypeId": expensesTypeId,
"expenseCategoryId": expensesTypeId,
"paymentModeId": paymentModeId,
"paidById": paidById,
"transactionDate": transactionDate.toIso8601String(),