Ejemplo n.º 1
0
 public function allElementsV2()
 {
     $output = ['tags' => Tag::get(), 'cities' => Cities::with('Areas')->get(), 'states' => States::get(), 'countries' => Countries::get(), 'appElements' => AppElement::find(1)];
     return response()->json(['response_code' => 'RES_STS', 'messages' => 'States', 'data' => $output]);
 }
Ejemplo n.º 2
0
 public function getService(request $request)
 {
     $AppElement = AppElement::find(1);
     $output['support'] = $AppElement->msupport;
     return view('merchant.support', $output);
 }