CentechMTL / TableauDeBord

Plateforme pour incubateur de société technologique
http://kpi.etsmtl.ca
GNU General Public License v3.0
1 stars 4 forks source link

Invoicing #214

Open digzol opened 8 years ago

digzol commented 8 years ago

Invoicing view form

digzol commented 8 years ago

Is the post-export validation on rental and room forms really necessary? It'll be a pain to manage and the benefits are very low.

Having an invoicing entry with year/month and export date can alert the user when a rent that was or currently is in the specific period, but it won't be able to track if a room surface was altered.

Also if the user "accidentally" exports the form ahead of time, it will be extremely annoying if the system prompts the user for a confirmation on every following edits.

A solution would be to only make the user confirm once, and never prompt it again until the next export. However, how will the system manage this? Deleting the invoicing entry? Changing the invoicing export date? Triggering a "mute" flag on the entry?

Should it also be triggered if the company details are changed? Phone number, payment method, person in charge, etc. How will this be managed? Once a company is changed, loops through all its rental history, find the first match between a rental date and an invoice date?

We have to "do the minimum needed", but this validation feature is not simple at all, and the client did not explicitly ask for it either.