update hospital

This commit is contained in:
ivan-sim
2026-02-27 16:08:57 +07:00
parent ba4fba8380
commit 928cb37289

View File

@@ -104,19 +104,20 @@ class MemberController extends Controller
// $res_data['type'] = $request->type;
// Provider
// $providers = DB::table('organizations')
// ->where('organizations.type', '=', 'hospital')
// ->where('organizations.corporate_id_partner', '!=', 8)
// ->orWhere('organizations.corporate_id_partner', NULL)
// ->where('status', '=', 'active')
// ->orderBy('organizations.name','asc')
// ->select(
// 'organizations.id',
// 'organizations.name'
// )
// ->get();
$providers = DB::table('organizations')
->where('organizations.type', '=', 'hospital')
->where('organizations.corporate_id_partner', '!=', 8)
->orWhere('organizations.corporate_id_partner', NULL)
->where('status', '=', 'active')
->where('type', '=', 'hospital')
->orderBy('organizations.name','asc')
->select(
'organizations.id',
'organizations.name'
)
->get();
// $res_data['providers'] = $providers;
$res_data['providers'] = $providers;
//company
// $companies = DB::table('corporates')