convert receiptpdf
This commit is contained in:
parent
35c7acb019
commit
c2b481aa17
@ -217,7 +217,7 @@ class PagesController extends Controller
|
|||||||
->first();
|
->first();
|
||||||
$bidder_num = $checkout_final_results->bidder_num;
|
$bidder_num = $checkout_final_results->bidder_num;
|
||||||
$checkout_list_results = WinningBids::with('items')
|
$checkout_list_results = WinningBids::with('items')
|
||||||
->where('winning_bidder_num', '=', '$bidder_num')
|
->where('winning_bidder_num', '=', $bidder_num)
|
||||||
->get();
|
->get();
|
||||||
$checkout_info_results = DB::select("SELECT
|
$checkout_info_results = DB::select("SELECT
|
||||||
winning_bids.*,
|
winning_bids.*,
|
||||||
|
@ -20,9 +20,9 @@ class Items extends Model
|
|||||||
'created_at',
|
'created_at',
|
||||||
'updated_at'
|
'updated_at'
|
||||||
];
|
];
|
||||||
|
|
||||||
public function winningBids()
|
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