Open amotenko opened 6 years ago
Should we really implement "When providing a document to download, provide one of the two according to type"? If a provider could be of a single type, there would be only one contract for provider, so there is no need to make a distinction on the API/DB level. @amotenko, what do you think?
I agree and I apologize if I used unclear wording. There can be only one document to download for a given provider so there shouldn't be any ambiguity.
Suppliers should allow for distinction between types of suppliers. Each type has its own legal document to sign, and potentially a different default length of visa.
For 2018 we are requested to support two types of suppliers, regular suppliers and movers. Movers will sign a different document and will have a 3 hour visa by default, in contrary to the regular suppliers who have a 4 hour visa.
Technical details:
In new supplier wizard, change the Category field to a drop down that would contain Moving and Other
When providing a document to download, provide one of the two according to type.
In the gate admin system and endpoint, when creating a new entry for a supplier, set the default visa length according to type.
Better to do this with hard-coded values. This feature is new and likely to change.