Skip to content

Commit

Permalink
fix: update styles in print credit
Browse files Browse the repository at this point in the history
  • Loading branch information
alnavarrop99 committed Apr 7, 2024
1 parent d15e241 commit 9287d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/_layout/credit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export const PrintCredit = forwardRef<HTMLDivElement, TPrintCredit>( function ({
<p>{text.print.client + ":"}<span>{client + "."}</span> </p>
<p >{text.print.ssn + ":"}<span>{ssn + "."}</span> </p>
<p>{text.print.telephone + ":"}<span>{telephone + "."}</span> </p>
<p>{text.print.title + ":"}<span>{phone + "."}</span> </p>
<p>{text.print.phone + ":"}<span>{phone + "."}</span> </p>
<p>{text.print.date + ":"}<span>{date + "."}</span></p>
</section>
<section>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_layout/credit/print.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9287d60

Please sign in to comment.