@extends('layouts.app')
@section('title')
{{ __('messages.documents') }}
@endsection
@section('css')
{{-- --}}
@endsection
@section('content')
@include('flash::message')
{{Form::hidden('documentsCreateUrl',route('documents.store'),['id'=>'indexDocumentsCreateUrl','class'=>'documentsCreateUrl'])}}
{{Form::hidden('documentsUrl',route('documents.index'),['id'=>'indexDocumentsUrl','class'=>'documentsUrl'])}}
{{Form::hidden('defaultDocumentImageUrl',asset('assets/img/default_image.jpg'),['id'=>'indexDefaultDocumentImageUrl','class'=>'defaultDocumentImageUrl'])}}
{{Form::hidden('downloadDocumentUrl',url('document-download'),['id'=>'indexDownloadDocumentUrl','class'=>'downloadDocumentUrl'])}}
{{Form::hidden('patientUrl',route('patients.index'),['id'=>'indexPatientUrl','class'=>'patientUrl'])}}
{{ Form::hidden('documentLang', __('messages.delete.document'), ['id' => 'documentLang']) }}
@include('documents.add_modal')
@include('documents.edit_modal')
@endsection
{{-- --}}
{{-- --}}
{{--let documentsCreateUrl = "{{route('documents.store')}}";--}}
{{--let documentsUrl = "{{route('documents.index')}}";--}}
{{--let defaultDocumentImageUrl = "{{ asset('assets/img/default_image.jpg') }}";--}}
{{--let downloadDocumentUrl = "{{ url('document-download') }}";--}}
{{--let patientUrl = "{{ route('patients.index') }}";--}}
{{-- --}}
{{-- --}}