convert receiptpdf
This commit is contained in:
@ -216,7 +216,7 @@ class PagesController extends Controller
|
||||
$checkout_final_results = Checkout::where('checkout_id', '=', $checkoutid)
|
||||
->first();
|
||||
$bidder_num = $checkout_final_results->bidder_num;
|
||||
$checkout_list_results = WinningBids::with('items')
|
||||
$checkout_list_results = WinningBids::with('items_rel')
|
||||
->where('winning_bidder_num', '=', $bidder_num)
|
||||
->get();
|
||||
$checkout_info_results = DB::select("SELECT
|
||||
|
@ -20,7 +20,7 @@ class WinningBids extends Model
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function items()
|
||||
public function items_rel()
|
||||
{
|
||||
return $this->hasMany('App\Models\Items', 'iditems', 'winning_item_num');
|
||||
}
|
||||
|
Reference in New Issue
Block a user