convert receiptpdf

This commit is contained in:
Russ Long 2018-12-29 13:54:13 -05:00
parent 35c7acb019
commit c2b481aa17
2 changed files with 3 additions and 3 deletions

View File

@ -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.*,

View File

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