Closed Paul-Eraman-CoopCycle closed 4 days ago
new column "incidents" : shows the name of the reported incident(s) attached to an order
Regarding the order-to-incident relationship mapping in the CSV export, we have two possible approaches:
Create a separate CSV file specifically for incidents, maintaining the one-to-many relationship between orders and their associated incidents.
Include all incidents within the order rows, where each order row would contain multiple incident entries (potentially making the row structure more complex).
Each approach has its trade-offs:
IMHO I'll go for the first approach since it's way easier to manipulate the data like so
Then let's go with multiple exports
However, for users could we have it be one button that exports one excel with two tabs?
Maybe the total incident price change and final price should be in the universal excel even if the list of incidents needs to be on a separate excel?
Yup, already added the incident price change + final price in the universal excel, the issue what with the incident titles
Beautiful :)
In orders export, the new price based on a reported incident is shown, but you cant see it was changed. propsal: