feat(dashboard): confirmação de pagamento com conta e data para faturas e boletos

- widget de faturas abre modal com seleção de conta de origem e data antes de pagar
- widget de boletos ganha a mesma paridade: modal com conta de pagamento e data
- toggleTransactionSettlementAction aceita paymentAccountId e paymentDate opcionais
- DashboardBill expõe accountId para inicializar o modal com a conta já vinculada

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-05-02 22:08:16 +00:00
parent 4bea6330bf
commit 0f5c735be0
8 changed files with 441 additions and 105 deletions

View File

@@ -5,6 +5,13 @@ export type DashboardBill = {
dueDate: string | null;
boletoPaymentDate: string | null;
isSettled: boolean;
accountId: string | null;
};
export type BillPaymentAccountOption = {
value: string;
label: string;
logo: string | null;
};
export type DashboardBillsSnapshot = {