diff --git a/Modules/Primaya/Http/Controllers/Api/MemberController.php b/Modules/Primaya/Http/Controllers/Api/MemberController.php index f27a2075..73393f83 100644 --- a/Modules/Primaya/Http/Controllers/Api/MemberController.php +++ b/Modules/Primaya/Http/Controllers/Api/MemberController.php @@ -108,10 +108,10 @@ class MemberController extends Controller // Provider $providers = DB::table('organizations') ->where('organizations.type', '=', 'hospital') + ->where('organizations.code', '=', 'LMS') ->where('organizations.corporate_id_partner', '!=', 8) - ->orWhere('organizations.corporate_id_partner', NULL) + // ->orWhere('organizations.corporate_id_partner', NULL) ->where('status', '=', 'active') - ->where('type', '=', 'hospital') ->orderBy('organizations.name','asc') ->select( 'organizations.id',