fix: status service edge case handling
This commit is contained in:
parent
8c2ecdb313
commit
f1817a520b
|
|
@ -264,6 +264,11 @@ function buildTrackerRow(bill, payments, year, month, todayStr, options = {}) {
|
||||||
current_balance: bill.current_balance ?? null,
|
current_balance: bill.current_balance ?? null,
|
||||||
minimum_payment: bill.minimum_payment ?? null,
|
minimum_payment: bill.minimum_payment ?? null,
|
||||||
interest_rate: bill.interest_rate ?? null,
|
interest_rate: bill.interest_rate ?? null,
|
||||||
|
is_subscription: !!bill.is_subscription,
|
||||||
|
has_2fa: !!bill.has_2fa,
|
||||||
|
has_merchant_rule: !!bill.has_merchant_rule,
|
||||||
|
has_linked_transactions: !!bill.has_linked_transactions,
|
||||||
|
website: bill.website || null,
|
||||||
payments: safePayments,
|
payments: safePayments,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue