split up some of the email functions for easier management

This commit is contained in:
2016-05-31 17:06:27 +10:00
parent 071ccba847
commit 02deeef731
6 changed files with 413 additions and 388 deletions

View File

@@ -79,7 +79,7 @@ function booking_report_summary() {
$query->orderBy('state_count', 'DESC');
$state_stats = $query->execute();
//TODO: add some info to a hash so we can calculate age info and generate the actual rows after the more detailed summary loop
//add some age info to an array so we can calculate age info and generate the actual rows after the more detailed summary loop
//include count of guys, girls, minimum, maximum and average ages
foreach ($state_stats as $state) {
if (strcmp($state->booking_country,'Australia') == 0 ) {