Commit Graph

149 Commits

Author SHA1 Message Date
Joachim Lusiardi bc7e1591bd fix sorting for regular costs 2021-06-23 08:29:35 +02:00
Joachim Lusiardi 673b671ab8 fix date of service 2021-06-22 21:49:32 +02:00
Joachim Lusiardi 578b2c15d8 bugfix: could not create service 2021-06-22 21:39:49 +02:00
Joachim Lusiardi 3035006225 vehicles can now be deactivated 2021-06-20 08:43:46 +02:00
Joachim Lusiardi 42356137c4 first shot 2021-06-18 19:25:33 +02:00
Joachim Lusiardi 4196111529 adapt general request limits 2021-05-31 21:30:54 +02:00
Joachim Lusiardi 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
Joachim Lusiardi 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
Joachim Lusiardi 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
Joachim Lusiardi 346723ae2d Makes each service/pitstop deletable
adds a delete button to each service/pitstop
2018-08-15 21:46:31 +02:00
Joachim Lusiardi 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
Joachim Lusiardi 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
Joachim Lusiardi b3cb88e870 fix issue with creating the first ever pitstop for vehicle 2018-08-11 19:38:51 +02:00
Joachim Lusiardi 3a2b25d3bd fixes issue with first pitstop for a vehicle 2018-08-11 18:57:33 +02:00
Joachim Lusiardi 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
Joachim Lusiardi 25705562ad Displays informative messages on litre amount 2018-08-11 14:13:03 +02:00
Joachim Lusiardi 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
Joachim Lusiardi 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
Joachim Lusiardi 5a961d096b add tooltips to buttons for filling stations 2018-08-10 20:16:36 +02:00
Joachim Lusiardi d9812bcb06 add links to imprint and dsgvo declaration 2018-05-09 12:41:40 +02:00
Joachim Lusiardi 95a7e56a32 load openlayers via https 2017-11-25 11:11:55 +01:00
Joachim Lusiardi f7cb273254 preparation commit for henni
This commit includes:
* sql conversion script
* fixes for the column type for lat and lng fields
* removes prints / console logs
* unneccessary comments
* if no home data is available, we center to germany
* hide non working brand logos
* on closed stations the word "closed" is printed instead of outdated
price
* updates on filling stations is done in chunks of max 10
* configuration separates between development and testing
2017-11-24 09:08:04 +01:00
Joachim Lusiardi 543d3e1658 react to closed stations 2017-11-12 22:50:25 +01:00
Joachim Lusiardi 9427ed50ad add page to plan a pitstop 2017-11-12 15:38:32 +01:00
Joachim Lusiardi 28990f27fa moved static files to separate directories 2017-11-12 15:34:49 +01:00
Joachim Lusiardi d55fd3d9f6 Consumables can now be linked to the tankerkoenig api 2017-11-12 10:17:36 +01:00
Joachim Lusiardi e9bb7986f4 moves routes for filling stations to extra file 2017-11-12 09:44:51 +01:00
Joachim Lusiardi eaacd3f42e adds functionality to handle favourit filling stations 2017-11-10 10:38:15 +01:00
Joachim Lusiardi 8a99e4a616 adds icons & logos
adds icons for filling stations and favorites
adds logos for various brands
2017-11-10 10:37:39 +01:00
Joachim Lusiardi 028b52d12f Adds setting home in account 2017-11-07 22:33:14 +01:00
Joachim Lusiardi 47e81c7517 start implementing a proxy layer for the API of creativecommons.tankerkoenig.de 2017-10-30 06:49:56 +01:00
Joachim Lusiardi 5859763a14 Fixed deprecation warning for Form 2016-11-06 18:53:13 +01:00
Joachim Lusiardi 6e665b9f2f finished handling of services 2016-11-06 13:22:54 +01:00
Joachim Lusiardi 60a1b307e4 changes to beautify the generated markdown 2016-11-06 13:14:28 +01:00
Joachim Lusiardi 3f458937d9 adds markdown filter 2016-11-06 13:14:03 +01:00
Joachim Lusiardi bceb9181ee sorting for events 2016-11-01 19:48:24 +01:00
Joachim Lusiardi 086c643365 fixed shadowing warning 2016-11-01 19:48:08 +01:00
Joachim Lusiardi d8c6a0a59b splitted routes into package 2016-11-01 18:01:52 +01:00
Joachim Lusiardi 43d9fc412e moved forms to extra package 2016-11-01 16:36:28 +01:00
Joachim Lusiardi 71412bf487 integrate services into rollerverbrauch 2016-11-01 11:19:26 +01:00
Joachim Lusiardi dd11419305 add the crud forms for services 2016-11-01 11:18:40 +01:00
Joachim Lusiardi d132dc72de Add Entitiy for the Service Object 2016-11-01 11:17:54 +01:00
Joachim Lusiardi 43fa41aace Add input type TextAreaField
adds a possibility to add longer texts in the style of
rollerverbrauch
2016-11-01 11:16:13 +01:00
Joachim Lusiardi 088d1f24a0 add redirect if vehicle is not configured and flash messages 2016-08-16 13:21:54 +02:00
Joachim Lusiardi 4acf36112c add ids to pitstop elements 2016-08-07 13:18:04 +02:00
Joachim Lusiardi 4b73699750 Added ids to important elements 2016-08-06 10:59:20 +02:00
Joachim Lusiardi d393f19b47 Fixed wrong text 2016-08-06 10:59:03 +02:00
Joachim Lusiardi 44b92e58b5 use config variable to identify admin account while it is created 2016-08-03 08:13:39 +02:00
Joachim Lusiardi 48d7c108f1 Merge branch '9-creation-of-new-vehicle-fails' into 'development'
Resolve "Creation of new vehicle fails"

Closes #9

See merge request !25
2016-07-29 21:12:30 +02:00
Joachim Lusiardi 7129e676e2 Fixed issue 9 2016-07-29 21:10:58 +02:00