@extends('layouts.app') @section('title') {{ __('messages.insurance.edit_insurance') }} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{ Form::model($insurance, ['id'=>'insuranceForm']) }} {{Form::hidden('insuranceSaveUrl',route('insurances.update', $insurance->id),['id'=>'editInsuranceSaveUrl','class'=>'insuranceSaveUrl'])}} {{Form::hidden('insuranceUrl',route('insurances.index'),['id'=>'editInsuranceUrl','class'=>'insuranceUrl'])}} {{Form::hidden('uniqueId',$diseases->count() + 1,['id'=>'editInsuranceUniqueId','class'=>'insuranceUniqueId'])}} {{Form::hidden('discount',$insurance->discount,['id'=>'editInsuranceDiscount','class'=>'insuranceDiscount'])}} @include('insurances.fields') {{ Form::close() }}
@include('insurances.templates.templates')
@endsection {{--let insuranceSaveUrl = "{{route('insurances.update', $insurance->id)}}";--}} {{--let insuranceUrl = "{{route('insurances.index')}}";--}} {{--let uniqueId = "{{ $diseases->count() + 1 }}";--}} {{--let discount = "{{$insurance->discount}}";--}} {{-- --}} {{-- --}}