[WIP] Add Linksehat Payment Report

This commit is contained in:
R
2023-04-06 05:03:38 +07:00
parent 59e7394d13
commit cca2310f54
20 changed files with 1786 additions and 46 deletions

View File

@@ -3,6 +3,7 @@
namespace Modules\Internal\Http\Controllers\Api;
use App\Models\Icd;
use App\Models\OLDLMS\Healthcare;
use App\Models\Organization;
use App\Models\Practitioner;
use Illuminate\Contracts\Support\Renderable;
@@ -61,6 +62,14 @@ class OptionController extends Controller
return $healthcares;
break;
case 'linksehat-healthcares':
$healthcares = Healthcare::query()
->where('sHealthCare', 'LIKE', '%'.$request->search.'%')
->limit('10')
->get();
return $healthcares;
break;
default:
# code...