convert reprintreceipt

This commit is contained in:
Russ Long 2018-12-29 13:34:42 -05:00
parent 4368de1558
commit 8b16cef15d

View File

@ -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]);
}
}