Commit Graph
24 Commits
Author SHA1 Message Date
Lukas Halbritter 5b2e5f5fb9 The formatDate() helper method now returns an empty strin, if the input date is
null. As yet it returned the current date.
2018-10-10 15:03:29 +02:00
Lukas Halbritter 4e601b964f Implemented projects. 2018-10-08 11:14:47 +02:00
Lukas Halbritter 108fc07cdb The formatAmount shows no longer an absolute ammount when in text mode. 2018-10-05 19:39:35 +02:00
Lukas Halbritter f58b193c4e Implemented deletion of bookings. 2018-10-05 19:38:47 +02:00
Lukas Halbritter 75d6568dac Implemented bookings update method.
Fixed some code stlye issues as well as some issues with referencing null.
2018-10-05 17:13:30 +02:00
Lukas Halbritter cde98630a1 Added validation logic for booking store and update. 2018-10-05 17:11:55 +02:00
Lukas Halbritter 5b1be136ad Added helper method to check, if an array has only null-values. 2018-10-05 17:11:06 +02:00
Lukas Halbritter 20859fe4a9 Transferred the loading of the arrays for the booking forms into a own separate
method.
Impemented the booking.edit view and controller method.
2018-10-04 22:59:41 +02:00
Lukas Halbritter 201ffd3d7a Added a method to replace every ',' in a string with a '.'. 2018-10-04 20:32:46 +02:00
Lukas Halbritter bfe50dec65 Implemented the create method of the BookingsController and fixed some code
style issues.
2018-10-04 20:30:20 +02:00
Lukas Halbritter cc203f36c7 Added some helpers for date string formatting. 2018-10-01 17:17:41 +02:00
Lukas Halbritter e9077193af Implemented eager loading for the people show view. 2018-10-01 09:58:04 +02:00
Lukas Halbritter 8f865e9bff Added helper methods for first and last day of month.
Sub-bookings are now showed in the bookings index view.
2018-10-01 09:56:55 +02:00
Lukas Halbritter 3f6fe26ff0 Optimized (sub-)booking methods and index view for eager loading. 2018-09-30 21:38:25 +02:00
Lukas Halbritter cc95c4b595 Added bookings controller and index view. 2018-09-28 22:47:35 +02:00
Lukas Halbritter e00e15ef62 Member state in the PeopeController update method is initialized as new model,
if there is no corresponding member state in the database.
2018-09-26 10:40:00 +02:00
Lukas Halbritter 377230ef73 Implemented deletion and creation of people. 2018-09-25 15:24:31 +02:00
Lukas Halbritter c3ea32f228 Added all prototypes to the PeopleController.
NOT ALL OF THEM ARE IMPLEMENTED, YET!
2018-09-24 18:51:49 +02:00
Lukas Halbritter 1b10f45a7d Added helper function 'formatAmount' to auto format floats top german format. 2018-09-13 15:55:42 +02:00
Lukas Halbritter fcc59f16ae Added helper function file and updated composer.json accordingly. 2018-09-12 11:07:42 +02:00
Lukas Halbritter 5ec117e1af Changed functions in Person model such that they return a Relation instead of an
Eloquent collection and adjusted the PersonController accordingly.
2018-09-11 17:11:46 +02:00
Lukas Halbritter ecd6fda352 Added show function to the PeopleController. 2018-09-09 10:03:29 +02:00
Lukas Halbritter cdba55315d Added a PeopleController.
Added a basic route to the index page of all people.
Added views and controller for this purpose.
2018-09-07 22:50:36 +02:00
Lukas Halbritter 8d09512669 Initial commit. Just a fresh laravel install. 2018-09-02 18:46:37 +02:00