@extends('admin.layout.master') @section('title', __('admin.orders')) @section('content')

{{ $transactions->where('type', '!=','commission')->where('type',' !=','withdraw')->sum('total') }}

{{ __('admin.total_payments') }}


{{ $transactions->where('type', 'commission')->sum('total') }}

{{ __('admin.commission') }}


{{ $transactions->where('type', 'withdraw')->sum('total') }}

{{ __('admin.withdrawed') }}

{{ $transactions->where('type', '!=','commission')->where('type', '!=','withdraw')->sum('total') + $transactions->where('type', 'commission')->sum('total') + $transactions->where('type', 'withdraw')->sum('total') }}

{{ __('admin.provider_payments') }}

{{ __('admin.filter') }}
@endsection