@extends('layouts.app') @inject('controller', 'App\Http\Controllers\Controller') @section('sidebar') @include('sidebar') @stop @section('content')

Daily Report Manage

{{ $payment_processor }} - {{ $requestDate }}

Last updated at - @if(isset($reportRecord->updated_at)) {{ $reportRecord->updated_at }} @endif
Last updated By - @if(isset($reportRecord->updated_at)) {{ DB::table('admins')->where('id',$reportRecord->admin_id)->first()->name }} @endif
@if(Session::has('success'))
{!! Session::get('success') !!}
@endif @if(session()->has('message_success'))
{{ session()->get('message_success') }}
@endif
@php $totalDeposit = 0; $totalWithdrawal = 0; $sr = 1; @endphp @if (count($records)) @foreach ($records as $key => $record) @php $totalDeposit += ($record['deposit']['mt4'] + $record['deposit']['wallet']); $totalWithdrawal += ($record['withdrawal']['client'] + $record['withdrawal']['ib']); @endphp @endforeach @else @endif {{-- --}} {{-- --}}

Date : {{ $requestDate != '' ? $requestDate : 'N/A' }}

# Name Deposit Withdraw
Crypto Total Crypto Crypto Total Crypto
MT4 Account Wallets Clients IB
{{ $sr++ }} {{ $key }} ${{ $record['deposit']['mt4'] }} ${{ $record['deposit']['wallet'] }} ${{ $record['deposit']['mt4'] + $record['deposit']['wallet'] }} ${{ $record['withdrawal']['client'] }} ${{ $record['withdrawal']['ib'] }} ${{ $record['withdrawal']['client'] + $record['withdrawal']['ib'] }}
No Record found
Total Crypto Deposit ${{ $totalDeposit }} Total Crypto Withdraw ${{ $totalWithdrawal }}
Total Deposit ${{ $totalDeposit }}
Total Withdraw : ${{ $totalWithdrawal }}
Total Difference : 0
@endsection @section('script') {{ Html::script('custom/eModal/eModal.js') }} {{ Html::script('custom/datatables/datatables.bundle.js') }} @endsection