[WIP] Claims

This commit is contained in:
R
2022-12-13 12:47:12 +07:00
parent 23468df422
commit 6a4447a549
17 changed files with 192 additions and 9 deletions

View File

@@ -5,6 +5,7 @@ namespace Modules\Internal\Http\Controllers\Api;
use App\Exceptions\ImportRowException;
use App\Imports\PlansImport;
use App\Models\Benefit;
use App\Models\Claim;
use App\Models\Corporate;
use App\Models\Plan;
use App\Services\ImportService;
@@ -34,6 +35,7 @@ class CorporateController extends Controller
->withCount([
'employees',
'corporateBenefits',
// 'claims'
])
->where('type', 'corporate')
->paginate(10);