This commit is contained in:
Russ Long 2018-12-24 13:24:11 -05:00
parent 4510f9ab8b
commit 4b22f36fac

View File

@ -236,21 +236,11 @@ class PagesController extends Controller
WHERE winning_bidder_num = $bidder_num WHERE winning_bidder_num = $bidder_num
GROUP BY winning_bids.winning_bidder_num GROUP BY winning_bids.winning_bidder_num
"); ");
//dd($checkout_final_results);
$checkout_data = [ $checkout_data = [
'checkout_final_results' => $checkout_final_results, 'checkout_final_results' => $checkout_final_results,
'checkout_list_results' => $checkout_list_results, 'checkout_list_results' => $checkout_list_results,
'checkout_info_results' => $checkout_info_results 'checkout_info_results' => $checkout_info_results
]; ];
// dd($checkout_data);
//$pdf = PDF::loadView('receiptpdf', $checkout_data);
//dd($pdf);
// $receiptcontentview = View::make('receiptpdf', $checkout_data);
// $receiptcontent = $receiptcontentview->render();
// $pdf = PDF::loadHTML($receiptcontent);
// $pdf = PDF::loadView('receiptpdf', $checkout_data);
// return $pdf->stream('receipt.pdf');
return view('receiptpdf', $checkout_data); return view('receiptpdf', $checkout_data);
} }