@extends('adminlte::page') @section('content')
Carrier name | Currency | Week ID | Week Date | QB Date | QB Value | App Data | Difference | Payment note | Edit | @foreach ($report as $cps) @if ($cps['qb'] != null || $cps['cps']['ttp2'] != null)
---|---|---|---|---|---|---|---|---|---|
{{ $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 |
Carrier name | Currency | Week ID | Week Date | QB Value | Payment note | Edit | @foreach ($all_payments as $payment)
---|---|---|---|---|---|---|
{{ $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 |
Carrier name | Currency | Week ID | Week Date | App Data | @foreach ($cps_data as $cps)
---|---|---|---|---|
{{ $cps->carrier->name }} | {{ $cps->us_can }} | {{ $cps->week_id }} | {{$cps->date->format('m/d/Y')}} | {{ number_format($cps->ttp2,2) }} |