Exemplo n.º 1
0
 public function updateCustomRecord($parameters)
 {
     Shop::where('id_076', $parameters['id'])->update(['customer_id_076' => $this->request->input('customerId'), 'name_076' => $this->request->input('name'), 'country_id_076' => $this->request->input('country'), 'territorial_area_1_id_076' => $this->request->has('territorialArea1') ? $this->request->input('territorialArea1') : null, 'territorial_area_2_id_076' => $this->request->has('territorialArea2') ? $this->request->input('territorialArea2') : null, 'territorial_area_3_id_076' => $this->request->has('territorialArea3') ? $this->request->input('territorialArea3') : null, 'cp_076' => $this->request->has('cp') ? $this->request->input('cp') : null, 'locality_076' => $this->request->has('locality') ? $this->request->input('locality') : null, 'address_076' => $this->request->has('address') ? $this->request->input('address') : null, 'contact_076' => $this->request->has('contact') ? $this->request->input('contact') : null, 'phone_076' => $this->request->has('phone') ? $this->request->input('phone') : null, 'email_076' => $this->request->has('email') ? $this->request->input('email') : null, 'web_076' => $this->request->has('web') ? $this->request->input('web') : null]);
 }