@extends('voyager::master') @section('page_title', __('voyager::generic.view').' '.$dataType->getTranslatedAttribute('display_name_singular')) @section('page_header') @include('voyager::multilingual.language-selector') @stop @section('content')

بحث

has('receipts')) checked @endif>
{{ method_field('POST') }} {{ csrf_field() }} @if(count($output) == 0) @else @php $counter = 1; $total_sum = 0; $total_costs = 0; @endphp @foreach($output as $key => $result) @php $date = explode(' ', $result['date'])[0]; @endphp @php $sum = $result['profit'] + $result['diff']; $total_sum += $sum; @endphp @php $total_costs += $result['costs']; @endphp @php $counter += 1; @endphp @endforeach @endif @if(count($output) > 0) @endif
{{ __('messages.admin.row') }} {{ __('messages.Date') }} {{ __('messages.admin.profit_all_products') }} {{ __('messages.admin.profit_air_products') }} {{ __('messages.admin.total_sum') }} {{ __('messages.admin.masroufat') }} {{ __('messages.admin.total_sum') }} {{ __('messages.admin.actions') }}
{{ __('messages.no_information_to_display') }}
{{ $counter }} {{ $date }} {{ number_format($result['profit']) }} {{ number_format($result['diff']) }} {{ number_format($sum) }} {{ number_format($result['costs'] * -1) }} {{ number_format($sum - $result['costs']) }} @if(array_key_exists('approved', $result) && !$result['approved']) @if(isset($result['identifier'])) @endif @endif @if(isset($result['identifier'])) @endif
{{ __('messages.admin.total_sum') }} - - {{ number_format($total_sum) }} {{ number_format($total_costs * -1) }} {{ number_format($total_sum - $total_costs) }} -
@stop @section('javascript') @stop