Commit Graph
6 Commits
Author SHA1 Message Date
Lukas Halbritter 3f6fe26ff0 Optimized (sub-)booking methods and index view for eager loading. 2018-09-30 21:38:25 +02:00
Lukas Halbritter 530ced47b2 Added the following functions to SubBooking:
Query scopes:
    interval($start, $end)
    joinBookings()
    withSignedAmount()
    joinAccountBranch()
  Sum functions:
    balanceAt($date)
    expedituresInInterval($start, $end, $group)
    incomesInInterval($start, $end, $group)
    cashFlowInInterval($start, $end, $type, $group)
2018-09-28 22:37:53 +02:00
Lukas Halbritter f2a12d40d7 Added a signedAmount() function to the SubBooking model. 2018-09-19 22:25:18 +02:00
Lukas Halbritter ac080eb485 Added some basic methods to the models to get roperties from related models or
the related models themselfes.
2018-09-14 11:27:08 +02:00
Lukas Halbritter cbaa9b9174 Added function to get the date of a sub-booking. 2018-09-09 09:56:08 +02:00
Lukas Halbritter b01762fdfb Added sub-bookings model and migration. 2018-09-07 14:06:29 +02:00