Add yearly statistics to activities and calls object (#1049)

This commit is contained in:
Régis Freyd
2018-03-25 12:26:11 -04:00
committed by GitHub
parent ce7ecf5adc
commit 9d883ecba6
10 changed files with 146 additions and 16 deletions
@@ -180,6 +180,7 @@ class ApiNoteController extends ApiController
}
$notes = $contact->notes()
->orderBy($this->sort, $this->sortDirection)
->paginate($this->getLimitPerPage());
return NoteResource::collection($notes);