convert helpers
This commit is contained in:
parent
33c1f99c66
commit
d37d3a1051
@ -69,13 +69,9 @@ class WinningBidSelectList
|
||||
{
|
||||
public static function WinningBidShowNumbers()
|
||||
{
|
||||
$winning_bid_num_results = DB::select("SELECT
|
||||
*
|
||||
FROM winning_bids
|
||||
INNER JOIN items AS items
|
||||
ON winning_bids.winning_item_num = items.iditems
|
||||
ORDER BY items.item_assigned_num
|
||||
");
|
||||
$winning_bid_num_results = WinningBids::join('items', 'winning_bids.winning_item_num', '=', 'items.iditems')
|
||||
->orderBy('items.item_assigned_num')
|
||||
->get();
|
||||
$winning_bid_num = '<option disabled selected hidden value="">choose...</option>';
|
||||
foreach($winning_bid_num_results as $winning_bid_num_result){
|
||||
$winning_bid_num .= '<option value="' . $winning_bid_num_result->idwinning_bids . '">' . $winning_bid_num_result->item_assigned_num . ' - ' . $winning_bid_num_result->item_desc .'</option>';
|
||||
|
Loading…
Reference in New Issue
Block a user