No files matched your search
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 20 KiB |
@@ -34,6 +34,7 @@ export default function ReconciliationModal({
|
|||||||
blAmount: "",
|
blAmount: "",
|
||||||
invoiceReference: "",
|
invoiceReference: "",
|
||||||
invoiceAmount: "",
|
invoiceAmount: "",
|
||||||
|
dueDate: "",
|
||||||
reconciled: false,
|
reconciled: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -45,6 +46,7 @@ export default function ReconciliationModal({
|
|||||||
blAmount: delivery.blAmount || "",
|
blAmount: delivery.blAmount || "",
|
||||||
invoiceReference: delivery.invoiceReference || "",
|
invoiceReference: delivery.invoiceReference || "",
|
||||||
invoiceAmount: delivery.invoiceAmount || "",
|
invoiceAmount: delivery.invoiceAmount || "",
|
||||||
|
dueDate: delivery.dueDate ? safeFormat(delivery.dueDate, 'yyyy-MM-dd') : "",
|
||||||
reconciled: delivery.reconciled || false,
|
reconciled: delivery.reconciled || false,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -85,6 +87,7 @@ export default function ReconciliationModal({
|
|||||||
blAmount: formData.blAmount ? formData.blAmount.toString() : null,
|
blAmount: formData.blAmount ? formData.blAmount.toString() : null,
|
||||||
invoiceReference: formData.invoiceReference.trim() || null,
|
invoiceReference: formData.invoiceReference.trim() || null,
|
||||||
invoiceAmount: formData.invoiceAmount ? formData.invoiceAmount.toString() : null,
|
invoiceAmount: formData.invoiceAmount ? formData.invoiceAmount.toString() : null,
|
||||||
|
dueDate: formData.dueDate || null,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -209,6 +212,17 @@ export default function ReconciliationModal({
|
|||||||
placeholder="0.00"
|
placeholder="0.00"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<Label htmlFor="dueDate">Date d'Échéance</Label>
|
||||||
|
<Input
|
||||||
|
id="dueDate"
|
||||||
|
type="date"
|
||||||
|
value={formData.dueDate}
|
||||||
|
onChange={(e) => setFormData(prev => ({ ...prev, dueDate: e.target.value }))}
|
||||||
|
placeholder="jj/mm/aaaa"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -688,6 +688,7 @@ export class DatabaseStorage implements IStorage {
|
|||||||
blAmount: deliveries.blAmount,
|
blAmount: deliveries.blAmount,
|
||||||
invoiceReference: deliveries.invoiceReference,
|
invoiceReference: deliveries.invoiceReference,
|
||||||
invoiceAmount: deliveries.invoiceAmount,
|
invoiceAmount: deliveries.invoiceAmount,
|
||||||
|
dueDate: deliveries.dueDate,
|
||||||
reconciled: deliveries.reconciled,
|
reconciled: deliveries.reconciled,
|
||||||
validatedAt: deliveries.validatedAt,
|
validatedAt: deliveries.validatedAt,
|
||||||
controlValidated: deliveries.controlValidated,
|
controlValidated: deliveries.controlValidated,
|
||||||
@@ -756,6 +757,7 @@ export class DatabaseStorage implements IStorage {
|
|||||||
blAmount: deliveries.blAmount,
|
blAmount: deliveries.blAmount,
|
||||||
invoiceReference: deliveries.invoiceReference,
|
invoiceReference: deliveries.invoiceReference,
|
||||||
invoiceAmount: deliveries.invoiceAmount,
|
invoiceAmount: deliveries.invoiceAmount,
|
||||||
|
dueDate: deliveries.dueDate,
|
||||||
reconciled: deliveries.reconciled,
|
reconciled: deliveries.reconciled,
|
||||||
validatedAt: deliveries.validatedAt,
|
validatedAt: deliveries.validatedAt,
|
||||||
controlValidated: deliveries.controlValidated,
|
controlValidated: deliveries.controlValidated,
|
||||||
@@ -877,6 +879,7 @@ export class DatabaseStorage implements IStorage {
|
|||||||
blAmount: deliveries.blAmount,
|
blAmount: deliveries.blAmount,
|
||||||
invoiceReference: deliveries.invoiceReference,
|
invoiceReference: deliveries.invoiceReference,
|
||||||
invoiceAmount: deliveries.invoiceAmount,
|
invoiceAmount: deliveries.invoiceAmount,
|
||||||
|
dueDate: deliveries.dueDate,
|
||||||
reconciled: deliveries.reconciled,
|
reconciled: deliveries.reconciled,
|
||||||
validatedAt: deliveries.validatedAt,
|
validatedAt: deliveries.validatedAt,
|
||||||
controlValidated: deliveries.controlValidated,
|
controlValidated: deliveries.controlValidated,
|
||||||
@@ -1009,6 +1012,7 @@ export class DatabaseStorage implements IStorage {
|
|||||||
blAmount: deliveries.blAmount,
|
blAmount: deliveries.blAmount,
|
||||||
invoiceReference: deliveries.invoiceReference,
|
invoiceReference: deliveries.invoiceReference,
|
||||||
invoiceAmount: deliveries.invoiceAmount,
|
invoiceAmount: deliveries.invoiceAmount,
|
||||||
|
dueDate: deliveries.dueDate,
|
||||||
reconciled: deliveries.reconciled,
|
reconciled: deliveries.reconciled,
|
||||||
validatedAt: deliveries.validatedAt,
|
validatedAt: deliveries.validatedAt,
|
||||||
notes: deliveries.notes,
|
notes: deliveries.notes,
|
||||||
|
|||||||