regular_costs #5

Merged
jlusiardi merged 19 commits from regular_costs into master 2021-06-18 20:20:13 +02:00
19 Commits
Author SHA1 Message Date
jlusiardi 42356137c4 first shot 2021-06-18 19:25:33 +02:00
jlusiardi 4196111529 adapt general request limits 2021-05-31 21:30:54 +02:00
jlusiardi 7797d6c91e add mail validator package 2021-05-08 19:54:05 +02:00
jlusiardi cbc34a02e7 changed base image 2021-05-08 19:32:01 +02:00
jlusiardi 6497d4677f Fixed a bug with editing services / pitstops
The event that was edited should not limit the dates and
odometers for the update.
2018-08-17 07:15:27 +02:00
jlusiardi 1d767d65a6 all pit stops can now be edited and deleted
not only the last pit stop can be edited and deleted.
2018-08-16 18:33:09 +02:00
jlusiardi ae6dfa8ae6 Fix bug with description on services
The service description was lost on any input error in the forms
for create and edit.
2018-08-16 06:58:11 +02:00
jlusiardi 346723ae2d Makes each service/pitstop deletable
adds a delete button to each service/pitstop
2018-08-15 21:46:31 +02:00
jlusiardi 6397d050ae services and pitstops each now respect their data on creation
On creation, the tupels of date and odometer are checked that
the service or pitstop does not violate the ordering in.
2018-08-15 21:45:22 +02:00
jlusiardi bf4bb607d5 Introduces ordering for services
services are now ordered by ascending odometer value instead of
their id
2018-08-15 21:39:04 +02:00
jlusiardi b3cb88e870 fix issue with creating the first ever pitstop for vehicle 2018-08-11 19:38:51 +02:00
jlusiardi 889a3e6476 changes dev config to store sqlite file in data volume 2018-08-11 18:58:25 +02:00
jlusiardi 3a2b25d3bd fixes issue with first pitstop for a vehicle 2018-08-11 18:57:33 +02:00
jlusiardi 13090d2735 Updates create pitstop form
The form now uses the new odometer_date_check to allow entering
pitstops that are before the currently last pitstop.
2018-08-11 14:53:08 +02:00
jlusiardi 25705562ad Displays informative messages on litre amount 2018-08-11 14:13:03 +02:00
jlusiardi 1f2e33bec4 Adds check to verify the proper order of pitstops
Pitstops must keep the order of date and odometer. That means if
a pitstop's date is between two other pitstops' date than the
odometer values must be as well.
2018-08-11 14:11:09 +02:00
jlusiardi c42a667ca4 Introduces ordering for pitstops
Pitstops are now ordered by ascending odometer value instead of
their id
2018-08-11 13:15:33 +02:00
jlusiardi 879669b4f7 Updates os version to debian 9
Changes to debian9_python3 image because of outdated setup tools
Fixed a typo as well
2018-08-11 13:06:07 +02:00
jlusiardi 5a961d096b add tooltips to buttons for filling stations 2018-08-10 20:16:36 +02:00