issues
search
Club-Alpin-Annecy
/
collectives-materiel
0
stars
1
forks
source link
Automatic reference
#37
Closed
hug0be
closed
2 years ago
hug0be
commented
2 years ago
When creating an equipment :
An automatic reference will be calculated depending on the model choosed
This format is : reference_prefix_of_this_type + " " + count_all_equipment_of_this_type
The reference is still editable after automatic calculation
This implies :
There's a new required field for an equipment type : reference_prefix
TODO :
Add a unique validator for the reference
Add a format validator for the reference
When creating an equipment :
This implies :
TODO :