Huge improvements - training realization including support stuff
1) ADD Attendance
- scaffolded
- Model methods
-- can_excuse?
-- can_sign_in?
-- modified participation getter, setter to accept symbols

1.1) fill attendance
- colorized via JS
1.2) price calculation
- calculate training lesson price balance (income X costs)
- recalculation via JS
- different currencies partially supported (no automatic conversion for calculating balance)
1.3) index
- show summary of player attendance on lessons
- configurable date range
- paged, colorized
- GRAPHS
-- attendance in time
-- income & costs in time
1.4) player detailed attendance
- show list of attended training lessons
- configurable date range
- show basic stats (present, missing, ...)
- show basic price summary
2) ADD PresentCoach
- scaffolded
2.1) new
- automatic guesser from coach obligations
3) EDIT VariableField
3.1) ADD VF measurement configurable detail for user
- GRAPHS
-- value development in time
-- measurements distribution
- STATS
-- max, mix, mean
-- linear regresion
3.2) ADD optional connection on training lesson realization
- coach can compare measurements from training with other users
- can compare change to previous value and change to AVG

4) ADD user configurable locale

- attendance
- training realization
- help

5) EDIT RegularTraining
5.1) ADD training scheduling
- select time range
- set coaches
- set state (scheduled, canceled)
- Model methods
-- get_possible_lessons_between_dates
--- used for scheduling purposes
--- finds all possible lessons (including state - scheduled, not scheduled)
-- closest_lessons

6) ADD TrainingLessonRealization
- Model methods
-- slug candidates builded based on date, time, regular training or owner

-- add_training_coach_from_obligations
--- helper method used for scheduling purposes -> copy obligations to present coaches

-- add_players_evidence_from_from_training_group
--- also used for scheduling purposes -> copy users from training user group to lesson attendance

-- player_price_with_tax
-- group_price_with_tax
-- rental_price_with_tax
-- lesson_length

-- closest_lesson_realizations
--- for specified user
--- configurable count

-- closest_trained_by_user
-- closest_open_realizations

-- calculated_attendances
--- only :present and :unexcused

-- calculate_player_price_without_vat
--- calculate price based on entered finance options
--- only present and unexcused player are counted
--- calculation does not work for mixed currencies
--- return understandable error messages

-- costs
--- calculate costs
--- multiple currencies support

-- income - calculate income
--- calculate income
--- multiple currencies support

-- has_coach?
-- has_player?
-- has_owner?
-- has_watcher?

- scaffolded
- holds training lesson realized in specified time and date
- can be connected with regular training lesson
6.1) index - list training realizations for specified regular training
6.2) create
- customized form with time and date pickers
- form divided into logical parts
6.3) close
- close training and deny further modification
- before any edit has to be reopened
6.4) cancel
- cancel training and set attendance state to invited + delete any payments
6.5) reopen
6.6) sign_in
6.7) excuse

7) EDIT Trainings
- ADD closest training lessons listing
- EDIT permission based show of various info

8) EDIT user role change
- removed modal version

9) ADD helpers
9.1) Labelize remaining time
9.2) Create help modal link
- create link to specific help term in selected topic
- link shows modal window
- clasic page link variant exist
9.3) Text colorization based on positive / negative value
9.4) Labelize Participation state
9.5) Labelize training state
9.6) Labelize remaining days until training start
9.7) Show training lesson role
9.8) Day in week graphic display
- table widget with week display, active day is highlighted
9.9) Labelize measurement old

10) EDIT TrainingLesson
- Model methods
-- add_to_schedule
--- create lesson realization for specified day

-- closest lessons

11) EDIT moved to global config application.yml
- app_name
- email
- host
- registration email
- no_reply email

12) ADD layouts
- plain
-- used for login, registering
- public
-- public accessible area
-- do not draw left sided menu

13) EDIT permission file
- EDIT measurements
- ADD training lesson realization
- ADD attendance
- ADD help

14) FIX default error path is set to dashboard root
- root is pointed to public homepage

15) ADD Help
- currently only for training related terms
- czech and english variant
- held as haml files with locale dependent naming convention
- location: /app/views/help/
- modal and page version of help
- modal helper

16) FIX Devise
- template loading problem
- broken design

17) Scaffolded Payment
18) ADD foreign keys
- used Foreigner gem