convert reprintreceipt

This commit is contained in:
Russ Long 2018-12-29 13:36:56 -05:00
parent 8b16cef15d
commit 3abadcd3bc

View File

@ -251,7 +251,7 @@ class PagesController extends Controller
} else { } else {
$bidnum=$reprint_receipt_req->reprintbiddernum; $bidnum=$reprint_receipt_req->reprintbiddernum;
$checkout_result = Checkout::where('bidder_num', '=', $bidnum) $checkout_result = Checkout::where('bidder_num', '=', $bidnum)
->get(); ->first();
return redirect()->route('receiptpdf', ['checkout_id' => $checkout_result->checkout_id]); return redirect()->route('receiptpdf', ['checkout_id' => $checkout_result->checkout_id]);
} }
} }