mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Add TTC amount configuration and display for financial tracking
Introduces `nocodbInvoiceAmountTTCColumnName` to `Groups.tsx` and `amountTTC` to `PaymentSchedule` interface in `PaymentSchedulePage.tsx` to support TTC calculations and display. Updates backend routes in `routes.ts` to include `amountTTC` and modifies `PaymentSchedulePage.tsx` to show both HT and TTC totals. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 01a3488a-852e-4c10-8349-442dbf9fc720 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/vfXE6SO
This commit is contained in:
1 parent
da6ec893d2
commit
8e13dcb94c
4 files changed
+76
-14
No files matched your search
@@ -445,6 +445,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
invoiceReference: delivery.invoiceReference,
|
||||
dueDate: delivery.dueDate,
|
||||
amount: delivery.invoiceAmount ? parseFloat(delivery.invoiceAmount) : 0,
|
||||
amountTTC: delivery.invoiceAmountTTC ? parseFloat(delivery.invoiceAmountTTC) : 0,
|
||||
supplierName: supplier?.name || 'Fournisseur inconnu',
|
||||
paymentMethod: supplier?.paymentMethod || null,
|
||||
groupId: group.id,
|
||||
|
||||
Reference in new issue
Block a user