Fix finding expenses call #130

This commit is contained in:
Nabeel Shahzad
2018-03-02 17:48:36 -06:00
parent fa5237179b
commit 9424bf7c46
3 changed files with 59 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ class ExpenseRepository extends BaseRepository implements CacheableInterface
{
$expenses = $this->findWhere([
'type' => $type,
['airline_id', '=', null]
]);
if($airline_id) {