@extends(request()->boolean('embed') ? 'layouts.embed_full' : 'layouts.master') @section('title', $title) @section('content')
@unless(request()->boolean('embed')) @include('patient_mangement.appointment.profile.profile') @endunless
@unless(request()->boolean('embed')) @include('patient_mangement.appointment.profile.menu') @endunless
@unless(request()->boolean('embed'))
{{ $title }}
@endunless @unless (request()->boolean('embed')) @can($access . '-create') @include($view . '.modal') {{ $title }} @endcan @endunless
@if (request()->boolean('embed')) @canany([$access . '-create', $access . '-update'])
{{-- Single-page mode: no modal — the drug repeater lives right on the card. Uses the exact same add()/remove() row-builder as the tab's modal (see page_js below), so both stay in sync. --}}
@csrf
Editing an existing prescription
@endcanany @endif
# Date Total {{ __('messages.action') }}
@endsection @section('page_js') @endsection