/** * Display a listing of the resource. * * @return Response */ public function index() { // $service_type_all = ServiceType::all(); $data['main_tilte'] = 'Advisor Panel'; $data['sub_title'] = "List Advisor"; $date['services'] = $service_type_all; return view('advisor.service_type_list')->with('service_type_all', $service_type_all); }
/** * Show the form for creating a new resource. * * @return Response */ public function getCreate() { $dc_customers = DcCustomers::all(); $dc_customer = ""; $customers = Customers::all(); $customer = ""; $locations = DcLocation::all(); $location = ""; $service_types = ServiceType::all(); $service_type = ""; return view('admin.customers.create_edit_dc_customer', compact('dc_customer', 'dc_customers', 'location', 'locations', 'service_type', 'service_types', 'customers', 'customer')); }