From 6360e1ad1097ee16a02420c4afe14b3ab31b73f1 Mon Sep 17 00:00:00 2001
From: Russ Long <rl@tfmm.co>
Date: Mon, 24 Dec 2018 12:54:05 -0500
Subject: [PATCH] Convert checkout view

---
 app/Http/Controllers/PagesController.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php
index 966236b..793ccf9 100644
--- a/app/Http/Controllers/PagesController.php
+++ b/app/Http/Controllers/PagesController.php
@@ -78,14 +78,14 @@ class PagesController extends Controller
             $checkout_list_results = WinningBids::with('items')
                                                 ->where('winning_bidder_num', $checkout_bidder)
                                                 ->get();
-          $checkout_info_results = WinningBids::with('bidders')
-                                                ->where('winning_bidder_num', $checkout_bidder)
-                                                ->get();
-          $checkout_cost_result = WinningBids::where('winning_bidder_num', $checkout_bidder)
-                                              ->sum('winning_cost');
+            $checkout_info_results = WinningBids::with('bidders')
+                                                  ->where('winning_bidder_num', $checkout_bidder)
+                                                  ->get();
+            $checkout_cost_result = WinningBids::where('winning_bidder_num', $checkout_bidder)
+                                                ->sum('winning_cost');
             return view('checkout', [
               'checkout_list_results' => $checkout_list_results,
-              '$checkout_cost_result' => $checkout_cost_result,
+              'checkout_cost_result' => $checkout_cost_result,
               'checkout_info_results' => $checkout_info_results
             ]);
         } else {