Added option to filter by date the visits list

This commit is contained in:
Alejandro Celaya
2016-07-21 09:36:38 +02:00
parent 84c4021b24
commit d97287ab0c
6 changed files with 101 additions and 14 deletions

View File

@@ -70,7 +70,11 @@ class GetVisitsCommand extends Command
]);
foreach ($visits as $row) {
$table->addRow(array_values($row->jsonSerialize()));
$rowData = $row->jsonSerialize();
// Unset location info
unset($rowData['visitLocation']);
$table->addRow(array_values($rowData));
}
$table->render();
}