Create Zone

This commit is contained in:
Russ Long 2018-03-30 09:54:57 -04:00
parent 159fcc46ca
commit a8d81eb548

View File

@ -70,35 +70,3 @@ class PagesController extends Controller
} }
} }
public function bidders(Request $bidder_req)
{
if(!$bidder_req->bidderlname){
return view('bidders');
}
$bidder_lname = $bidder_req->bidderfname;
$bidder_fname = $bidder_req->bidderlname;
$bidder_addr = $bidder_req->bidderaddr;
$bidder_city = $bidder_req->biddercity;
$bidder_state = $bidder_req->bidderstate;
$bidder_zip = $bidder_req->bidderzip;
$bidder_phone = $bidder_req->bidderphone;
$bidder_email = $bidder_req->bidderemail;
$bidder_assigned_number = $bidder_req->biddernum;
$bidder_insert = DB::table('bidders')->insert(
[
'bidder_lname' => $bidder_lname ,
'bidder_fname' => $bidder_fname ,
'bidder_addr' => $bidder_addr ,
'bidder_city' => $bidder_city ,
'bidder_state' => $bidder_state ,
'bidder_zip' => $bidder_zip ,
'bidder_phone' => $bidder_phone ,
'bidder_email' => $bidder_email ,
'bidder_assigned_number' => $bidder_assigned_number
]);
return redirect('bidders');
}