mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Merge pull request #486 from R0m1k3/1.1
Improve payment schedule tracking and sales analysis interface
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -531,14 +531,13 @@ export default function Suppliers() {
|
||||
<div>
|
||||
<Label htmlFor="paymentMethod">Mode de paiement</Label>
|
||||
<Select
|
||||
value={formData.paymentMethod}
|
||||
value={formData.paymentMethod || undefined}
|
||||
onValueChange={(value) => handleChange('paymentMethod', value)}
|
||||
>
|
||||
<SelectTrigger id="paymentMethod" data-testid="select-payment-method">
|
||||
<SelectValue placeholder="Sélectionner un mode de paiement" />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="">Aucun</SelectItem>
|
||||
<SelectItem value="Virement">Virement</SelectItem>
|
||||
<SelectItem value="Traite">Traite</SelectItem>
|
||||
<SelectItem value="Traite Magnétique">Traite Magnétique</SelectItem>
|
||||
|
||||
@@ -39,7 +39,8 @@ The platform is built with a clear separation of concerns, utilizing a modern fu
|
||||
- **DLC Module:** Permissions allow admin, director, and manager roles to validate DLC products. Includes explanatory tooltips for UX enhancement.
|
||||
- **Reporting:** Statistical reporting, including monthly summaries of deliveries.
|
||||
- **UI Harmonization:** All detail modals across modules (orders, deliveries, calendar) use a unified component for consistent information display.
|
||||
- **Analyse Vente (Sales Analysis):** A dedicated module for admins and directors that displays a configurable external URL/IP in an iframe. Configuration is managed via a dedicated tab in the Utilities page, allowing administrators to set or update the sales analysis dashboard URL. The menu is visible only to admin and directeur roles, ensuring proper access control. Includes intelligent error handling with informative messages when the URL is not configured.
|
||||
- **Analyse Vente (Sales Analysis):** A dedicated module for admins and directors that displays a configurable external URL/IP in an iframe. Configuration is managed via a dedicated tab in the Utilities page, allowing administrators to set or update the sales analysis dashboard URL. The menu is visible only to admin and directeur roles, ensuring proper access control. Includes intelligent error handling with informative messages when the URL is not configured. Features a refresh button to force complete iframe reloads.
|
||||
- **Échéancier des Paiements (Payment Schedule):** A comprehensive payment deadline tracking system integrated with NocoDB. Displays monthly aggregations of supplier payment schedules with breakdown by payment method (Virement, Traite, Traite Magnétique, Chèque). Features include: role-based access (admin/director), group-based filtering with selectedStoreId, Zod validation for security, robust supplier name normalization (case/accent/whitespace handling), monthly statistics with payment method breakdowns, and configurable NocoDB column mapping for due dates. Requires configuration of nocodbDueDateColumnName in Groups settings and paymentMethod in Suppliers. **Security (November 2025)**: Implements strict authorization - directors can only access their assigned groups, preventing cross-group data access.
|
||||
|
||||
## External Dependencies
|
||||
- **API Météo:** Visual Crossing API
|
||||
|
||||
Reference in new issue
Block a user