convert receiptpdf
This commit is contained in:
parent
35c7acb019
commit
c2b481aa17
@ -217,7 +217,7 @@ class PagesController extends Controller
|
||||
->first();
|
||||
$bidder_num = $checkout_final_results->bidder_num;
|
||||
$checkout_list_results = WinningBids::with('items')
|
||||
->where('winning_bidder_num', '=', '$bidder_num')
|
||||
->where('winning_bidder_num', '=', $bidder_num)
|
||||
->get();
|
||||
$checkout_info_results = DB::select("SELECT
|
||||
winning_bids.*,
|
||||
|
@ -23,6 +23,6 @@ class Items extends Model
|
||||
|
||||
public function winningBids()
|
||||
{
|
||||
return $this->belongsTo('App\Models\WinningBids', 'winning_item_num', 'iditems');
|
||||
return $this->belongsTo('App\Models\WinningBids', 'iditems', 'winning_item_num');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user