Files
streamline-emr/docker/streamline-src/app/Services/UserService.php
T
alec.turner 4a89356390 Import latest app updates from streamline
An updated set of source files and initialization was provided by streamline to
address issues observed during initial testing. These files have been updated in
order to generate a new set of app images.
2024-04-11 11:16:51 -07:00

17 lines
405 B
PHP

<?php
namespace Streamline\Services;
use Illuminate\Support\Facades\DB;
class UserService
{
public function pluckUserFullName(): array
{
return DB::table('users')
->whereNull('deleted_at')
->select(DB::raw('CONCAT(first_name, " ", last_name) AS full_name, id'))
->orderBy('first_name','asc')
->pluck('full_name', 'id')->toArray();
}
}