{{-- ICTHospital - billable services and price list. Editing is inline: each row is its own form, so a price can be corrected without a round trip to a separate screen. A price list gets adjusted far more often than it gets added to. A form element cannot wrap a table row, so the forms are declared above the table and each control points at one with the HTML form attribute. Nesting them inside the cells instead produces markup browsers silently reparent, which is how inline table editing usually ends up posting the wrong row. Copyright (c) DEVtrust Part of ICTHospital Licensed under the GNU General Public License v3.0. --}} @extends('layouts.master') @section('style') @stop @section('content') @if (Session::get('success'))
{{ Session::get('success') }}
@endif @if (Session::get('error'))
{{ Session::get('error') }}
@endif

Services and prices

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @foreach ($services as $service)
{{ csrf_field() }}
{{ csrf_field() }}
@endforeach @if ($services->isEmpty())

Nothing on the price list yet. Invoice lines are raised against this list, so add the consultations, procedures and bed charges you bill for before raising an invoice.

@else

A price is copied onto an invoice line when the charge is raised, so changing one here never rewrites what a patient was already billed.

@foreach ($services as $service) @endforeach
Service and description Department Group List price Invoiced
{{ $usage[$service->id] ?? 0 }} @if ($service->service_kind === 'package')@endif
@endif @foreach ($departments as $d) @endforeach @foreach ($types as $type) @endforeach

Add a service

{{ csrf_field() }}

This is the list price. What each patient type pays, outpatient and inpatient, is set under Pricing. Doctor shares are set under Doctor share.

@stop @section('script') @stop