@extends('adminlte::page') @section('content')
Create Export
@foreach ($report as $cps) @if ($cps['qb'] != null || $cps['cps']['ttp2'] != null) @endif @endforeach
Carrier name Currency Week ID Week Date QB Date QB Value App Data Difference Payment note Edit
{{ $carrier->name }} {{ $cps['cps']->us_can }} {{ $cps['cps']->week_id }} @if ($cps['cps']->date != '') {{ $cps['cps']->date->format('m/d/Y') }} @endif @if ($cps['qb']!='' && $cps['qb']->date != '') {{ Carbon\Carbon::createFromFormat('Y-m-d', $cps['qb']->date)->format('m/d/Y') }} @endif @if (isset($cps['qb']->value)) {{ number_format($cps['qb']->value, 2) }} @else - @endif {{ number_format($cps['cps']->ttp2, 2) }} @if(isset($cps['qb']['value'])) {{ number_format($cps['cps']->ttp2 - $cps['qb']['value'], 2)}} @else {{ number_format($cps['cps']->ttp2,2)}} @endif @if($cps['qb']!=null){{ $cps['qb']['note'] }} @endif @if ($cps['qb'] != '')Edit @endif
@foreach ($all_payments as $payment) @endforeach
Carrier name Currency Week ID Week Date QB Value Payment note Edit
{{ $payment->carrier->name }} {{ $payment->currency }} {{ $payment->week_id }} @if ($payment->date != '') {{ Carbon\Carbon::createFromFormat('Y-m-d', $payment->date)->format('m/d/Y') }} @endif {{ number_format($payment->value, 2) }} {{ $payment->note }} Edit
@foreach ($cps_data as $cps) @endforeach
Carrier name Currency Week ID Week Date App Data
{{ $cps->carrier->name }} {{ $cps->us_can }} {{ $cps->week_id }} {{$cps->date->format('m/d/Y')}} {{ number_format($cps->ttp2,2) }}
@stop @section('css') @stop @section('js') @stop