PMCORE-3420

This commit is contained in:
Paula Quispe
2021-10-19 15:50:24 -04:00
parent a2879e56fe
commit 5ad077d38e
2 changed files with 3 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ class AppNotes extends Model
{
$query = AppNotes::query()->select(['NOTE_ID']);
$query->appUid($appUid);
$total = $query->get()->count();
$total = $query->count();
return $total;
}
@@ -143,6 +143,6 @@ class AppNotes extends Model
$query = AppNotes::query()->select(['NOTE_ID']);
$query->appNumber($appNumber);
return $query->get()->count();
return $query->count();
}
}

View File

@@ -475,6 +475,6 @@ class Application extends Model
->statusId($status)
->positiveCases();
return $query->get()->count(['APP_NUMBER']);
return $query->count(['APP_NUMBER']);
}
}