Merged in bugfix/PMCORE-3420 (pull request #8228)

PMCORE-3420

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Paula Quispe
2021-10-19 19:59:36 +00:00
committed by Julio Cesar Laura Avendaño
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']);
}
}