@extends('admin.layouts.container')

@section('content')
<div class="side-title">
    <h3>{{ $head ?? '' }}</h3>
</div>

<div class="border-item">
  
@foreach($prescriptions as $key=>$row)

<label>{{__('reservations.prescriptionnumber')}} : {{$key+1}}</label>
<div class="row">
            <div class="form-group col-lg-6">
            <label>{{ meta('type_pre', getCurrentLocale()) ?? __('reservations.type_pre') }} </label>
            <input type="text" disabled class="form-control" name="name"  value='{{  $row->type }}'/>
        </div>
        <div class="form-group col-lg-6">
            <label>{{ meta('name', getCurrentLocale()) ?? __('reservations.name') }} </label>
            <input type="text" disabled class="form-control" name="name"  value='{{  $row->name }}'/>
        </div>
         <div class="form-group col-lg-6">
            <label>{{ meta('count', getCurrentLocale()) ?? __('reservations.count') }} </label>
            <input type="text" disabled class="form-control "   value='{{  $row->count }}'/>
        </div>
         <div class="form-group col-lg-6">
            <label>{{ meta('duration', getCurrentLocale()) ?? __('reservations.duration') }} </label>
            <input type="text" disabled class="form-control "   value='{{  $row->duration }}'/>
        </div>
         
       
       
        </div>
      
      @endforeach

       
      
       


        <div class="text-center mt-5 col-12">
            <button onclick="window.print()" class="butn"><span>{{ __('main.print') }}</span></button>
        </div>

</div>

@endsection

@section('inner_js')
    <!-- Editor JS files -->
{{--    <script src="{{ asset('/assets/admin/js/lib/tinymce.min.js') }}"></script>--}}
            <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "{{ url(config('lfm.prefix')) }}",
            url = "{{url('/')}}/",
            imagePath = "{{asset('')}}";
    </script>
    <script src="{{ asset('assets/admin/js/editor.js') }}"></script>
    <script src="{{ asset('assets/admin/js/lfm.js') }}"></script>
@endsection
