Convert reprint receipt
This commit is contained in:
parent
055934376e
commit
4368de1558
@ -250,12 +250,9 @@ class PagesController extends Controller
|
|||||||
return view('reprint_receipt_form');
|
return view('reprint_receipt_form');
|
||||||
} else {
|
} else {
|
||||||
$bidnum=$reprint_receipt_req->reprintbiddernum;
|
$bidnum=$reprint_receipt_req->reprintbiddernum;
|
||||||
$checkout_id = DB::select("SELECT
|
$checkout_id = Checkout::where('bidder_num', '=', $bidnum)
|
||||||
checkout_id
|
->get();
|
||||||
FROM checkout
|
return redirect()->route('receiptpdf', ['checkout_id' => $checkout_id->checkout_id]);
|
||||||
WHERE bidder_num = $bidnum
|
|
||||||
");
|
|
||||||
return redirect()->route('receiptpdf', ['checkout_id' => $checkout_id['0']->checkout_id]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user