Skip to content

Commit

Permalink
Merge pull request #2677 from CAFECA-IO/feature/voucherUpdate
Browse files Browse the repository at this point in the history
voucherUpdate
  • Loading branch information
Luphia authored Sep 26, 2024
2 parents 6abec72 + a8a53a5 commit f8ab69d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iSunFA",
"version": "0.8.2+16",
"version": "0.8.2+17",
"private": false,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/formatter/journal.formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function formatSingleIJournalListItem(
assertIsJournalEvent(journalFromPrisma.event);
return {
id: journalFromPrisma.id,
date: journalFromPrisma.createdAt,
date: journalFromPrisma.invoice?.date || journalFromPrisma.createdAt,
type: journalFromPrisma.invoice?.eventType,
particulars: journalFromPrisma.invoice?.description,
fromTo: journalFromPrisma.invoice?.vendorOrSupplier,
Expand Down

0 comments on commit f8ab69d

Please sign in to comment.