@extends('admin.layouts.adminpanel') @section('page_header') @php $page_title = 'Revenue Report'; @endphp @include('admin.partials.page_header') @endsection @section('content')
| Total Cobrado | |
| Total por Cobrar | |
| Total Nuevas Licencias |
| {{ __('ID') }} | {{ __('Date') }} | {{ __('Client') }} | {{ __('Package') }} | {{ __('Amount') }} | {{ __('Tax') }} | {{ __('Total') }} | {{ __('Fee') }} | @if (isset($investors)) @foreach ($investors as $investor) @php $share_pct = null; if (currentUserRoleId() == 3 && isset($investor->investment)) { $share_pct = $investor->investment->share_pct; } elseif (currentUserRoleId() == 4 && isset($investor->commission)) { // comisionista $share_pct = $investor->commission->share_pct; } @endphp{{ $investor->name }} @if (!is_null($share_pct)) {{ number_format($share_pct, 0) }}% @endif | @endforeach @endif {{-- comisionista update to 4 --}} @if (currentUserRoleId() == 3 || currentUserRoleId() == 4){{ __('Status') }} | @else{{ __('Invoice') }} | {{ __('Files') }} | @endif
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ __('Totals') }} | @if (isset($investors)) @foreach ($investors as $investor) | @endforeach @endif {{-- comisionista update to 4 --}} @if (currentUserRoleId() == 3 || currentUserRoleId() == 4) | @else | @endif |