@extends('layouts.master') @section('title', 'Commission | Proxima - Medical Management app') @section('title-topbar', 'Commission') @section('css') @endsection @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @section('content')
Dashboard | Invoice | Daily Doctor Commission
Daily Total Commission Details @if (request()->date) {{ request()->date }} @else This Month @endif
@foreach ($comm as $item) @endforeach
{{ __('basic.date') }} {{ __('basic.item') }} {{ __('basic.price') }} {{ __('basic.doctor') }} {{ __('basic.commission') }}
{{ date('d M Y', strtotime($item->invoice->created_at)) }} {{ $item->categorizable->name }} {{ $item->sold_price }} {{ $item->doctor->name }} {{ $item->doctor_comm }}
TOTAL {{ $comm->sum('doctor_comm') }} EGP
@endsection @section('js') @endsection