@extends('layouts.master')
@section('title', 'Daily Commission | Proxima - Medical Management app')
@section('title-topbar', 'Commission')
@section('css')
@endsection
@if (Session::has('success'))
Sent Successfully
{{ Session::get('success') }}
@endif
@section('content')
{{ __('basic.date') }} |
{{ __('basic.doctor') }} |
{{ __('basic.commission') }} |
@foreach ($comm as $item)
{{ date('d M Y', strtotime($item->invoice->created_at)) }}
|
{{ $item->doctor->name }}
|
{{ $item->sums }}
|
@endforeach
TOTAL |
{{ $comm->sum('sums') }} EGP
|
@foreach ($doctors_services as $item)
@php
$doc_total = 0;
@endphp
Service |
Count |
@foreach ($item as $service)
@php
$doc_total += $service->service_count;
@endphp
{{ $service->categorizable->name }} |
{{ $service->service_count}}
|
@endforeach
Total Count |
{{ $doc_total }}
|
@endforeach
@endsection
@section('js')
@endsection