convert receiptpdf
This commit is contained in:
@ -20,9 +20,9 @@ class Items extends Model
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
|
||||
public function winningBids()
|
||||
{
|
||||
return $this->belongsTo('App\Models\WinningBids', 'winning_item_num', 'iditems');
|
||||
return $this->belongsTo('App\Models\WinningBids', 'iditems', 'winning_item_num');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user