PMCORE-3420
This commit is contained in:
@@ -126,7 +126,7 @@ class AppNotes extends Model
|
|||||||
{
|
{
|
||||||
$query = AppNotes::query()->select(['NOTE_ID']);
|
$query = AppNotes::query()->select(['NOTE_ID']);
|
||||||
$query->appUid($appUid);
|
$query->appUid($appUid);
|
||||||
$total = $query->get()->count();
|
$total = $query->count();
|
||||||
|
|
||||||
return $total;
|
return $total;
|
||||||
}
|
}
|
||||||
@@ -143,6 +143,6 @@ class AppNotes extends Model
|
|||||||
$query = AppNotes::query()->select(['NOTE_ID']);
|
$query = AppNotes::query()->select(['NOTE_ID']);
|
||||||
$query->appNumber($appNumber);
|
$query->appNumber($appNumber);
|
||||||
|
|
||||||
return $query->get()->count();
|
return $query->count();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -475,6 +475,6 @@ class Application extends Model
|
|||||||
->statusId($status)
|
->statusId($status)
|
||||||
->positiveCases();
|
->positiveCases();
|
||||||
|
|
||||||
return $query->get()->count(['APP_NUMBER']);
|
return $query->count(['APP_NUMBER']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user