@extends('layouts.back-end.app') @section('title', translate('Prescriptions')) @section('content')

{{translate('Prescriptions')}}

@foreach($prescriptions as $key => $prescription ) @endforeach
{{translate('SL')}} {{translate('Customer')}} {{translate('Prescription Image')}} {{translate('Status')}} {{translate('action')}}
{{ $key + 1 }} {{$prescription->customer['name']}} @if($prescription->order != null) {{translate('Disbursed')}} @else {{translate('Waiting')}} @endif @if($prescription->order == null) {{translate('Dispensing')}} @else {{translate('Order Details')}} @endif
{{$prescriptions->links()}}
@if(count($prescriptions)==0) @include('layouts.back-end._empty-state',['text'=>'no_coupon_found'],['image'=>'default']) @endif
@endsection @push('script') @endpush @include('admin-views.category.includes.script')