update hospital
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user