mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-21 05:58:23 +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
@@ -50,6 +50,7 @@ export default function Groups() {
|
||||
invoiceColumnName: "",
|
||||
nocodbBlColumnName: "",
|
||||
nocodbAmountColumnName: "",
|
||||
nocodbInvoiceAmountTTCColumnName: "",
|
||||
nocodbSupplierColumnName: "",
|
||||
nocodbDueDateColumnName: "",
|
||||
webhookUrl: "",
|
||||
@@ -106,6 +107,7 @@ export default function Groups() {
|
||||
invoiceColumnName: "",
|
||||
nocodbBlColumnName: "",
|
||||
nocodbAmountColumnName: "",
|
||||
nocodbInvoiceAmountTTCColumnName: "",
|
||||
nocodbSupplierColumnName: "",
|
||||
nocodbDueDateColumnName: "",
|
||||
webhookUrl: "",
|
||||
@@ -151,6 +153,7 @@ export default function Groups() {
|
||||
invoiceColumnName: "",
|
||||
nocodbBlColumnName: "",
|
||||
nocodbAmountColumnName: "",
|
||||
nocodbInvoiceAmountTTCColumnName: "",
|
||||
nocodbSupplierColumnName: "",
|
||||
nocodbDueDateColumnName: "",
|
||||
webhookUrl: "",
|
||||
@@ -259,6 +262,7 @@ export default function Groups() {
|
||||
invoiceColumnName: "",
|
||||
nocodbBlColumnName: "",
|
||||
nocodbAmountColumnName: "",
|
||||
nocodbInvoiceAmountTTCColumnName: "",
|
||||
nocodbSupplierColumnName: "",
|
||||
nocodbDueDateColumnName: "",
|
||||
webhookUrl: "",
|
||||
@@ -276,6 +280,7 @@ export default function Groups() {
|
||||
invoiceColumnName: group.invoiceColumnName || "",
|
||||
nocodbBlColumnName: group.nocodbBlColumnName || "",
|
||||
nocodbAmountColumnName: group.nocodbAmountColumnName || "",
|
||||
nocodbInvoiceAmountTTCColumnName: group.nocodbInvoiceAmountTTCColumnName || "",
|
||||
nocodbSupplierColumnName: group.nocodbSupplierColumnName || "",
|
||||
nocodbDueDateColumnName: group.nocodbDueDateColumnName || "",
|
||||
webhookUrl: group.webhookUrl || "",
|
||||
@@ -624,7 +629,7 @@ export default function Groups() {
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<Label htmlFor="nocodbAmountColumnName">Colonne Montant</Label>
|
||||
<Label htmlFor="nocodbAmountColumnName">Colonne Montant HT</Label>
|
||||
<Input
|
||||
id="nocodbAmountColumnName"
|
||||
value={formData.nocodbAmountColumnName}
|
||||
@@ -633,6 +638,16 @@ export default function Groups() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<Label htmlFor="nocodbInvoiceAmountTTCColumnName">Colonne Montant TTC</Label>
|
||||
<Input
|
||||
id="nocodbInvoiceAmountTTCColumnName"
|
||||
value={formData.nocodbInvoiceAmountTTCColumnName}
|
||||
onChange={(e) => handleChange('nocodbInvoiceAmountTTCColumnName', e.target.value)}
|
||||
placeholder="ex: Montant_TTC"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<Label htmlFor="nocodbSupplierColumnName">Colonne Fournisseur</Label>
|
||||
<Input
|
||||
@@ -713,6 +728,7 @@ export default function Groups() {
|
||||
invoiceColumnName: "",
|
||||
nocodbBlColumnName: "",
|
||||
nocodbAmountColumnName: "",
|
||||
nocodbInvoiceAmountTTCColumnName: "",
|
||||
nocodbSupplierColumnName: "",
|
||||
nocodbDueDateColumnName: "",
|
||||
webhookUrl: "",
|
||||
|
||||
Reference in new issue
Block a user