made chnages to expense category of type
This commit is contained in:
parent
b1f5fb8d78
commit
3543770654
@ -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":
|
||||
|
||||
@ -1921,7 +1921,7 @@ class ApiService {
|
||||
}) async {
|
||||
final payload = {
|
||||
"projectId": projectId,
|
||||
"expensesTypeId": expensesTypeId,
|
||||
"expenseCategoryId": expensesTypeId,
|
||||
"paymentModeId": paymentModeId,
|
||||
"paidById": paidById,
|
||||
"transactionDate": transactionDate.toIso8601String(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user