@extends('layouts.master') @section('title', $title) {{-- Eye Clinic → Spectacle prescription: every prescription (from appointments and written directly here), with filters; new ones for any patient. --}} @section('content') @php $cardStyle = [ 'no_order' => ['secondary', 'fa-file-circle-xmark'], 'draft' => ['warning', 'fa-pen-to-square'], 'pending' => ['danger', 'fa-hourglass-half'], 'partial' => ['info', 'fa-circle-half-stroke'], 'paid' => ['success', 'fa-circle-check'], 'cancelled' => ['dark', 'fa-ban'], ]; @endphp
@foreach ($statuses as $key => $label)
{{ $label }}
0
{{ in_array($key, ['pending', 'partial']) ? 'Balance' : 'Amount' }} $0.00
@endforeach
{{ $title }}
@can($access . '-create') @endcan
# Date Patient Source Lens material UCVA Invoice status Total Paid Balance {{ __('messages.action') }}
@can($access . '-create') @include($view . '.modal') @endcan @can('invoice-payment') @endcan @endsection @section('page_js') @endsection