diff --git a/src/pages/_layout/credit.tsx b/src/pages/_layout/credit.tsx index 93b67ee..e907087 100644 --- a/src/pages/_layout/credit.tsx +++ b/src/pages/_layout/credit.tsx @@ -261,7 +261,7 @@ export const PrintCredit = forwardRef( function ({

{text.print.client + ":"}{client + "."}

{text.print.ssn + ":"}{ssn + "."}

{text.print.telephone + ":"}{telephone + "."}

-

{text.print.title + ":"}{phone + "."}

+

{text.print.phone + ":"}{phone + "."}

{text.print.date + ":"}{date + "."}

diff --git a/src/pages/_layout/credit/print.tsx b/src/pages/_layout/credit/print.tsx index 212fd0a..9ca64b1 100644 --- a/src/pages/_layout/credit/print.tsx +++ b/src/pages/_layout/credit/print.tsx @@ -152,7 +152,7 @@ export function PrintSelectedCredit( { credit: _credit = {} as TCREDIT_GET_FILTE telephone: client?.telefono, phone: client?.celular, // TODO: date: format( pay?.fecha_de_pago ?? "", "dd-MM-yyyy / hh:mm aaaa" ), - date: pay?.fecha_de_pago ?? "", + date: pay?.fecha_de_pago?.slice(0,10) ?? "", pay: +(pay?.valor_del_pago ?? 0)?.toFixed(2), mora: mora ? +mora.toFixed(2) : undefined, cuoteNumber: (payIndex ?? creditDB?.pagos?.length - 1) + 1,