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

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{Form::hidden('insuranceSaveUrl',route('insurances.store'),['id'=>'createInsuranceSaveUrl','class'=>'insuranceSaveUrl'])}} {{Form::hidden('insuranceUrl',route('insurances.index'),['id'=>'createInsuranceUrl','class'=>'insuranceUrl'])}} {{Form::hidden('uniqueId',2,['id'=>'insuranceUniqueId','class'=>'insuranceUniqueId'])}} {{Form::hidden('discount',-1,['id'=>'insuranceDiscount','class'=>'insuranceDiscount'])}} {{ Form::open(['route' => 'insurances.store', 'id'=>'insuranceForm']) }} @include('insurances.fields') {{ Form::close() }}
@include('insurances.templates.templates') @endsection {{-- let insuranceSaveUrl = "{{route('insurances.store')}}";--}} {{-- let insuranceUrl = "{{route('insurances.index')}}";--}} {{-- let uniqueId = 2;--}} {{-- let discount = -1;--}} {{-- --}} {{-- --}}