@extends('layouts.master') @section('title', 'Edit Service | Proxima - Medical Management app') @section('title-topbar', 'Edit Service') @section('css') @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.services') }} | {{ __('patientappo.edit service') }}
{{ __('patientappo.edit service') }}
@csrf @method('PUT')
@error('specialty_id') {{ $message }} @enderror
@if ($service->id !== 2)
@error('branch_id') {{ $message }} @enderror
@endif
@error('type') {{ $message }} @enderror
@error('service_category') {{ $message }} @enderror
@if ($service->service_inv_cat_id == 2)
@error('dent_main_cat_id') {{ $message }} @enderror
@endif
@error('name') {{ $message }} @enderror
@error('price') {{ $message }} @enderror
@if ($service->service_inv_cat_id == 3) @if ($service->package == 0)
@error('pulses_amount') {{ $message }} @enderror
@endif @endif @if ($service->package == 1 || $service->package == 2)
@error('package_items_number') {{ $message }} @enderror
@endif
@error('doctor_comm') {{ $message }} @enderror

Deactivate
deactivate == 1) checked @endif name="deactivate" type="checkbox" value="1" id="deactivate">
@error('deactivate') {{ $message }} @enderror

@if (count($service->costs) > 0) @foreach ($service->costs as $item)
@error('costs') {{ $message }} @enderror
@error('cost_price') {{ $message }} @enderror
@if (!$loop->first) @endif
@endforeach @else
@error('costs') {{ $message }} @enderror
@error('cost_price') {{ $message }} @enderror
@endif
New Cost
@if (count($service->materials) > 0) @foreach ($service->materials as $item)
@error('materials') {{ $message }} @enderror
@error('qty') {{ $message }} @enderror
@if (!$loop->first) @endif
@endforeach @else
@error('materials') {{ $message }} @enderror
@error('qty') {{ $message }} @enderror
@endif
New Material
@endsection @section('js') @endsection