@php $total_machin = $item->record->ending - $item->record->beginning; @endphp {{ $total_machin }} ps
@extends('layouts.master') @section('title', 'Statistics | Proxima - Medical Management app') @section('title-topbar', 'Statistics') @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))
@endif @if (Session::has('error_delete')) @endif @endsection @section('content'){{ $item->record->machine->branch->name }}
{{ $item->record->doctor->name }}
{{ $item->record->beginning }} ps
{{ $item->record->ending }} ps
@php $total_machin = $item->record->ending - $item->record->beginning; @endphp {{ $total_machin }} ps
{{ $item->used }} ps
{{ $item->used - $total_machin }} ps
Nothing to show
Name | Total |
---|---|
TOTAL | {{ $all_pulses->sum('used_pulses') }} ps |
{{ $item->machine->name }} | {{ $item->total }} ps |
{{ __('basic.date') }} | {{ __('basic.type') }} | {{ __('basic.name') }} | {{ __('basic.patient') }} | {{ __('basic.machine') }} | {{ __('basic.doctor') }} | {{ __('patientappo.pay status') }} | {{ __('basic.fluence') }} | {{ __('basic.pulse area') }} | {{ __('basic.spot size') }} | {{ __('basic.balance before session') }} | {{ __('basic.used pulses') }} | {{ __('basic.package') }} |
---|---|---|---|---|---|---|---|---|---|---|---|---|
TOTAL | {{ $all_pulses->sum('used_pulses') }} ps | |||||||||||
{{ date('d M Y', strtotime($item->date)) }} | {{ $msg }} | @if ($item->service_item) {{ $item->service_item->name }} @else Taken from package @endif | {{ $item->patient->name }} | {{ $item->machine->name }} | {{ $item->doctor->name }} | {{ $msg_invoice }} | {{ $item->fluence }} | @if ($item->pulse_area) @foreach ($item->pulse_area as $pulse_area) {{ $pulse_area->name .','}} @endforeach @else @endif | {{ $item->spot_size }} | {{ $item->balance_before_session }} | {{ $item->used_pulses }} | @if ($item->package) {{ $item->package->service_item->name }} {{ $item->package->date }} @else No package @endif | @endforeach
Name | Total |
---|---|
TOTAL | {{ $all_pulses->sum('used_pulses') }} ps |
{{ $item->doctor->name }} | {{ $item->total }} ps |