@extends('layouts.app') @section('title') {{ __('messages.visitor.new') }} @endsection @section('page_css') {{-- --}} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{ Form::hidden('visitorUrl', route('visitors.index'), ['class' => 'visitorUrl']) }} {{ Form::hidden('downloadDocumentUrl', url('visitor-download'), ['class' => 'downloadDocumentUrl']) }} {{ Form::hidden('documentError', __('messages.expense.document_error'), ['id' => 'documentError']) }} {{ Form::hidden('utilsScript', asset('assets/js/int-tel/js/utils.min.js'), ['class' => 'utilsScript']) }} {{ Form::hidden('isEdit', false, ['class' => 'isEdit']) }} {{ Form::hidden('defaultDocumentImageUrl', asset('assets/img/default_image.jpg'), ['class' => 'defaultDocumentImageUrl']) }} {{ Form::open(['route' => 'visitors.store','id' => 'createVisitorForm','files' => true]) }} @include('visitors.fields') {{ Form::close() }}
@endsection {{--let visitorUrl = "{{ route('visitors.index') }}";--}} {{--let downloadDocumentUrl = "{{ url('visitor-download') }}";--}} {{--let documentError = "{{__('messages.expense.document_error')}}";--}} {{--let utilsScript = "{{asset('assets/js/int-tel/js/utils.min.js')}}";--}} {{--let isEdit = false;--}} {{--let defaultDocumentImageUrl = "{{ asset('assets/img/default_image.jpg') }}";--}} {{-- --}} {{-- --}}