From d8cfd0de4fe9c5c50830c07e04ab7c81039b1c15 Mon Sep 17 00:00:00 2001 From: Nick Kosarev Date: Tue, 21 Oct 2025 12:44:12 +0200 Subject: [PATCH] chore: invoice updated --- apps/web-app/app/components/InvoiceCard.vue | 22 ++++++++++++++++--- .../app/components/form/CreateInvoice.vue | 7 ++---- .../app/components/form/UpdateInvoice.vue | 6 ++--- .../app/pages/partner/[id]/invoice.vue | 5 ++--- apps/web-app/server/services/invoice.ts | 16 +++++++------- apps/web-app/shared/utils/helpers.ts | 11 ++++++++++ packages/database/src/types/entities.ts | 7 +++++- 7 files changed, 50 insertions(+), 24 deletions(-) diff --git a/apps/web-app/app/components/InvoiceCard.vue b/apps/web-app/app/components/InvoiceCard.vue index 355a2533..3b3b02c5 100644 --- a/apps/web-app/app/components/InvoiceCard.vue +++ b/apps/web-app/app/components/InvoiceCard.vue @@ -2,7 +2,7 @@
- +
+
+ Создан {{ format(new Date(invoice.createdAt), 'd MMMM в HH:mm', { locale: ru }) }} +
+

{{ new Intl.NumberFormat().format(invoice.total) }} ₽

@@ -22,7 +26,7 @@ {{ invoice.title }}

-

+

{{ invoice.description }}

@@ -36,7 +40,7 @@ @@ -48,6 +52,8 @@