Merge remote-tracking branch 'origin/master'

This commit is contained in:
Dasc3er 2020-11-13 18:40:16 +01:00
commit 7fb85edb78
3 changed files with 3 additions and 1 deletions

View File

@ -93,11 +93,13 @@ class Anagrafiche extends Resource implements RetrieveInterface, CreateInterface
$query = $query->havingRaw($having);
}
$total_count = $query->count();
return [
'results' => $query->skip($request['page'] * $request['length'])
->limit($request['length'])
->get()->toArray(),
'total-count' => $query->count(),
'total-count' => $total_count,
];
}

0
modules/piano_sconto/add.php Normal file → Executable file
View File

0
modules/piano_sconto/edit.php Normal file → Executable file
View File