diff --git a/app/Http/Controllers/HealthCareSheetController.php b/app/Http/Controllers/HealthCareSheetController.php index f69d70d..2995f8f 100755 --- a/app/Http/Controllers/HealthCareSheetController.php +++ b/app/Http/Controllers/HealthCareSheetController.php @@ -812,6 +812,7 @@ class HealthCareSheetController extends Controller $healthCareSheet = $sheet->replicate(); $healthCareSheet->health_care_sheet_id = $this->generateSheetID(); + $healthCareSheet->network_agent_id = $request->input('network_agent_id'); $healthCareSheet->practitioner_lastname = $request->input('practitioner_lastname'); $healthCareSheet->practitioner_firstname = $request->input('practitioner_firstname'); $healthCareSheet->practitioner_provider_class_id = $request->input('practitioner_provider_class_id'); diff --git a/database/migrations/2021_11_25_023106_create_nh_infos_health_care_sheets_view.php b/database/migrations/2021_11_25_023106_create_nh_infos_health_care_sheets_view.php index 16c9d7e..85017ab 100644 --- a/database/migrations/2021_11_25_023106_create_nh_infos_health_care_sheets_view.php +++ b/database/migrations/2021_11_25_023106_create_nh_infos_health_care_sheets_view.php @@ -2,6 +2,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; +use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; class CreateNhInfosHealthCareSheetsView extends Migration diff --git a/database/migrations/2021_12_20_154710_update_nh_infos_health_care_sheets_view.php b/database/migrations/2021_12_20_154710_update_nh_infos_health_care_sheets_view.php new file mode 100644 index 0000000..deb473c --- /dev/null +++ b/database/migrations/2021_12_20_154710_update_nh_infos_health_care_sheets_view.php @@ -0,0 +1,45 @@ +