@extends('layouts.master') @section('title', 'Statistics | Proxima - Medical Management app') @section('title-topbar', 'Statistics') @section('css') @endsection @section('content')
Date | Total | Cat | Items | Description | Discount | Method | Patient | Branch |
---|---|---|---|---|---|---|---|---|
{{ date('d M', strtotime($item->paid_date)) }} |
@if ($item->status == 2 && $item->deposit_amount == null)
@php
$total_income += $item->total_paid;
@endphp
{{ $item->total_paid }}
EGP
@elseif ($item->status == 2 && $item->deposit_amount !== null)
@if ($item->deposit_date === $date)
@php
$total_income += $item->deposit_amount;
@endphp
{{ $item->deposit_amount }}
EGP
out of {{ $item->final_price }}
{{ __('basic.pending') }}
@else
@php
$total_income += $item->total_paid - $item->deposit_amount;
@endphp
{{ $item->total_paid - $item->deposit_amount }}
EGP
{{ $item->deposit_amount }} depost paid on
{{ date('d M', strtotime($item->deposit_date)) }}
@endif
@elseif ($item->status == 1)
@php
$total_income += $item->deposit_amount;
@endphp
{{ $item->deposit_amount }}
EGP
out of {{ $item->final_price }}
{{ __('basic.pending') }}
@endif
|
{{ $item->service_inv_cat->name }} | @foreach ($item->invoice_items as $item_items) {{ $item_items->categorizable->name }} | @endforeach | {{ $item->note }}
@if ($item->worker)
shift:
{{ $item->worker->name }}
@endif
|
@if ($item->discount)
{{ $item->discount }}
EGP
on {{ $item->items_price }} egp
@else
@endif
|
{{ $payment_method_txt }} | @if ($item->receivable) {{ $item->receivable->name }} @else {{ __('patientappo.no receiver') }} @endif | {{ $item->branch->name }} |
TOTAL | {{ $total_income }} EGP |
Date | Total | Cat | Items | Description | Discount | Method | Receiver | Branch |
---|---|---|---|---|---|---|---|---|
{{ date('d M', strtotime($item->paid_date)) }} |
@if ($item->status == 2 && $item->deposit_amount == null)
@php
$total_expenses += $item->total_paid;
@endphp
{{ $item->total_paid }}
EGP
@elseif ($item->status == 2 && $item->deposit_amount !== null)
@if ($item->deposit_date === $date)
@php
$total_expenses += $item->deposit_amount;
@endphp
{{ $item->deposit_amount }}
EGP
out of {{ $item->final_price }}
{{ __('basic.pending') }}
@else
@php
$total_expenses += $item->total_paid - $item->deposit_amount;
@endphp
{{ $item->total_paid - $item->deposit_amount }}
EGP
{{ $item->deposit_amount }} depost paid on
{{ date('d M', strtotime($item->deposit_date)) }}
@endif
@elseif ($item->status == 1)
@php
$total_expenses += $item->deposit_amount;
@endphp
{{ $item->deposit_amount }}
EGP
out of {{ $item->final_price }}
{{ __('basic.pending') }}
@endif
|
{{ $item->service_inv_cat->name }} | @foreach ($item->invoice_items as $item_items) {{ $item_items->categorizable->name }} | @endforeach | {{ $item->note }} @if ($item->worker) | shift: {{ $item->worker->name }} @endif |
@if ($item->discount)
{{ $item->discount }}
EGP
on {{ $item->items_price }} egp
@else
@endif
|
{{ $payment_method_txt }} | @if ($item->receivable) {{ $item->receivable->name }} @else {{ __('patientappo.no receiver') }} @endif | {{ $item->branch->name }} |
TOTAL | {{ $total_expenses }} EGP |
Name | Total |
---|---|
TOTAL | {{ $income_details_cat->sum('sums') }} EGP |
{{ $item->service_inv_cat->name }} | {{ $item->sums }} EGP |
Name | Total |
---|---|
TOTAL | {{ $expenses_details->sum('sums') }} EGP |
{{ $item->service_inv_cat->name }} | {{ $item->sums }} EGP |
Date | Total | Cat | Items | Description | Discount | Method | Patient | Branch |
---|---|---|---|---|---|---|---|---|
TOTAL | {{ $invoice_oper_income->sum('total_paid') }} EGP | |||||||
{{ date('d M', strtotime($item->paid_date)) }} |
@if ($item->status == 1)
{{ $item->total_paid }}
EGP
out of {{ $item->final_price }}
{{ __('basic.pending') }}
@else
{{ $item->total_paid }}
EGP
@endif
|
{{ $item->service_inv_cat->name }} | @foreach ($item->invoice_items as $item_items) {{ $item_items->categorizable->name }} | @endforeach | {{ $item->note }} @if ($item->worker)
shift:
{{ $item->worker->name }}
@endif
|
@if ($item->discount)
{{ $item->discount }}
EGP
on {{ $item->items_price }} egp
@else
@endif
|
{{ $payment_method_txt }} | @if ($item->receivable) {{ $item->receivable->name }} @else {{ __('patientappo.no receiver') }} @endif | {{ $item->branch->name }} |
Date | Total | Cat | Items | Description | Discount | Method | Patient | Branch |
---|---|---|---|---|---|---|---|---|
TOTAL | {{ $invoice_oper_expenses->sum('total_paid') }} EGP | |||||||
{{ date('d M', strtotime($item->paid_date)) }} |
@if ($item->status == 1)
{{ $item->total_paid }}
EGP
out of {{ $item->final_price }}
{{ __('basic.pending') }}
@else
{{ $item->total_paid }}
EGP
@endif
|
{{ $item->service_inv_cat->name }} | @foreach ($item->invoice_items as $item_items) {{ $item_items->categorizable->name }} | @endforeach | {{ $item->note }} @if ($item->worker)
shift:
{{ $item->worker->name }}
@endif
|
@if ($item->discount)
{{ $item->discount }}
EGP
on {{ $item->items_price }} egp
@else
@endif
|
{{ $payment_method_txt }} | @if ($item->receivable) {{ $item->receivable->name }} @else {{ __('patientappo.no receiver') }} @endif | {{ $item->branch->name }} |