Improve GET /health-care-sheets v3

This commit is contained in:
Djery-Tom 2022-02-10 10:16:09 +01:00
parent 4bcc89ded4
commit ca2a0da994
1 changed files with 1 additions and 0 deletions

View File

@ -1196,6 +1196,7 @@ class HealthCareSheetController extends Controller
if (!empty($state)) { if (!empty($state)) {
switch ($state) { switch ($state) {
case 'UNTREATED' : case 'UNTREATED' :
case 'UNTREATED_ALL' :
$query = $query->where('state', InsuranceSubscriptionState::UNDER_VALIDATION); $query = $query->where('state', InsuranceSubscriptionState::UNDER_VALIDATION);
break; break;
case 'TREATED' : case 'TREATED' :