Improve check insurance coverage amount method

This commit is contained in:
Djery-Tom 2022-02-21 13:58:11 +01:00
parent 3797577f9a
commit 9017ac9609
2 changed files with 1 additions and 9 deletions

View File

@ -2001,13 +2001,6 @@ class HealthCareSheetController extends Controller
* @OA\Schema(
* schema="check_insurance_coverage_amount",
* title = "Verifier si une ligne de la feuille est applicable",
* required={"insured_id", "network_agent_id", "password", "practitioner_lastname", "practitioner_provider_class_id"},
* @OA\Property(
* property="network_id",
* description = "ID du reseau",
* type="integer",
* example= 250
* ),
* @OA\Property(
* property="insurance_id",
* description = "ID de l'assurance",
@ -2127,7 +2120,6 @@ class HealthCareSheetController extends Controller
* )
*/
$this->validate($request, [
'network_id' => 'required|exists:networks,id',
'insurance_id' => 'required|exists:nh_insurances,id',
'beneficiary_id' => 'nullable|exists:nh_having_rights,id',
'care_condition' => 'required|in:CURRENT_AFFECTION,LONG_TERM_AFFECTION,EXONERATION',

View File

@ -13,7 +13,7 @@
|
*/
$router->get('pdf-viewer', 'HelperController@pdfView');
//$router->get('pdf-viewer', 'HelperController@pdfView');
$router->group(['prefix' => '', 'middleware' => 'auth'], function () use ($router) {
// Insurances routes