From 8b16cef15db99df6a8047cd58839a033ac61fbf9 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 29 Dec 2018 13:34:42 -0500 Subject: [PATCH] convert reprintreceipt --- app/Http/Controllers/PagesController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index bf48215..499db2f 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -250,9 +250,9 @@ class PagesController extends Controller return view('reprint_receipt_form'); } else { $bidnum=$reprint_receipt_req->reprintbiddernum; - $checkout_id = Checkout::where('bidder_num', '=', $bidnum) + $checkout_result = Checkout::where('bidder_num', '=', $bidnum) ->get(); - return redirect()->route('receiptpdf', ['checkout_id' => $checkout_id->checkout_id]); + return redirect()->route('receiptpdf', ['checkout_id' => $checkout_result->checkout_id]); } }