convert helpers
This commit is contained in:
parent
4e3053f9ae
commit
b9bef5a385
@ -41,11 +41,8 @@ class ItemSelectList
|
|||||||
{
|
{
|
||||||
public static function ItemShowNumbers()
|
public static function ItemShowNumbers()
|
||||||
{
|
{
|
||||||
$item_num_results = DB::select("SELECT
|
$item_num_results = Items::orderBy('item_assigned_num')
|
||||||
*
|
->get();
|
||||||
FROM items
|
|
||||||
ORDER BY item_assigned_num
|
|
||||||
");
|
|
||||||
$item_nums = '<option disabled="disabled" selected="selected" value="0">choose...</option>';
|
$item_nums = '<option disabled="disabled" selected="selected" value="0">choose...</option>';
|
||||||
foreach($item_num_results as $item_num_result){
|
foreach($item_num_results as $item_num_result){
|
||||||
$item_nums .= '<option value="' . $item_num_result->iditems . '">' . $item_num_result->item_assigned_num . '</option>';
|
$item_nums .= '<option value="' . $item_num_result->iditems . '">' . $item_num_result->item_assigned_num . '</option>';
|
||||||
|
Loading…
Reference in New Issue
Block a user