From a8d81eb548fa7bcb5987472f814220ab7ce23425 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 09:54:57 -0400 Subject: [PATCH] Create Zone --- app/Http/Controllers/PagesController.php | 32 ------------------------ 1 file changed, 32 deletions(-) diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index e2b2db9..7db9a29 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -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'); - }