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

Sent Successfully

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

@endif @section('content')
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->categorizable->name }} {{ $item->doctor_comm }}
TOTAL {{ $comm->sum('sums') }} EGP
@endsection @section('js') @endsection