@extends('adminlte::page') @section('content')
@foreach ($primary_brokers as $pb) | {{ $pb->name }} | @endforeachTotal | ||
---|---|---|---|---|
@foreach ($primary_brokers as $pb) | US | CAN | @endforeachUS | CAN |
Total | @foreach ($primary_brokers as $pb){{ number_format($total_primary_brokers[$pb->id]['profit_us'], 2) }} | {{ number_format($total_primary_brokers[$pb->id]['profit_cad'], 2) }} | @endforeach{{ number_format($total->savings_usd, 2) }} | {{ number_format($total->savings_cad, 2) }} |
{{ $week_id }} | @foreach ($primary_brokers as $pb) @foreach ($brokers_data as $broker){{ number_format($broker[$pb->id]['profit_us'], 2) }} | {{ number_format($broker[$pb->id]['profit_cad'], 2) }} | @endforeach @endforeach{{number_format($total_by_week_id[$week_id]['profit_us'],2)}} | {{number_format($total_by_week_id[$week_id]['profit_cad'],2)}} |
@foreach ($secondary_brokers as $pb) | {{ $pb->name }} | @endforeachTotal | ||
---|---|---|---|---|
@foreach ($secondary_brokers as $pb) | US | CAN | @endforeachUS | CAN |
Total | @foreach ($secondary_brokers as $pb){{ number_format($total_secondary_brokers[$pb->id]['profit_us'], 2) }} | {{ number_format($total_secondary_brokers[$pb->id]['profit_cad'], 2) }} | @endforeach{{ number_format($total->savings_usd, 2) }} | {{ number_format($total->savings_cad, 2) }} |
{{ $week_id }} | @foreach ($secondary_brokers as $pb) @foreach ($brokers_data as $broker){{ number_format($broker[$pb->id]['profit_us'], 2) }} | {{ number_format($broker[$pb->id]['profit_cad'], 2) }} | @endforeach @endforeach{{number_format($total_by_week_id_secondary[$week_id]['profit_us'],2)}} | {{number_format($total_by_week_id_secondary[$week_id]['profit_cad'],2)}} |