mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-03-10 04:51:47 +00:00
fix: corrige antecipacao e fechamento de compras no cartao
This commit is contained in:
@@ -38,6 +38,7 @@ export type CreateAnticipationInput = {
|
||||
seriesId: string;
|
||||
installmentIds: string[];
|
||||
anticipationPeriod: string;
|
||||
discount?: number;
|
||||
pagadorId?: string;
|
||||
categoriaId?: string;
|
||||
note?: string;
|
||||
|
||||
@@ -71,9 +71,6 @@ export function formatPurchaseDate(date: Date): string {
|
||||
* Formata o texto da parcela atual
|
||||
* Exemplo: "1 de 6"
|
||||
*/
|
||||
export function formatCurrentInstallment(
|
||||
current: number,
|
||||
total: number,
|
||||
): string {
|
||||
export function formatCurrentInstallment(current: number, total: number): string {
|
||||
return `${current} de ${total}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user