@php($c=$o->product) @if($p->exists) @endif @if($p->exists) @endif @if ($p->exists) @endif @if ($p->exists) @endif @if ($p->exists) @endif @if ($p->exists) @endif @if ($p->exists) @endif @if ($p->exists) @endif @if ($p->exists) @endif
  This Plan  Proposed Plan  
  Client Supplier  Client Supplier  
Product #{{ $c->supplied->id }}: {{ $c->supplied->name_long }}  #{{ $p->supplied->id }}: {{ $p->supplied->name_long }}{{ $c->category_name }}
Setup ${{ number_format($b=$o->account->taxed($c->setup_charge),2) }} ${{ number_format($a=$o->account->taxed($c->setup_cost),2) }} {!! markup($a,$b) !!}${{ number_format($b=$o->account->taxed($p->setup_charge),2) }} ${{ number_format($a=$o->account->taxed($p->setup_cost),2) }} {!! markup($a,$b) !!}
Billed {{ $o->billing_interval_string }} {{ $c->type->billing_interval_string }}  {{ $o->billing_interval_string }} {{ $p->type->billing_interval_string }}  
Billing Price isChargeOverriden())class="text-danger"@endif>${{ number_format($b=$o->billing_charge,2) }} ${{ number_format($a=$o->account->taxed($c->base_cost),2) }} {!! markup($a,$b) !!}isChargeOverriden())class="text-danger"@endif>${{ number_format($b=$o->account->taxed($p->base_charge),2) }} ${{ number_format($a=$o->account->taxed($p->base_cost),2) }} {!! markup($a,$b) !!}
Monthly Price isChargeOverriden()) class="text-danger" @endif> @if($x) ${{ number_format($b=$o->billing_monthly_price,2) }} @else {{ number_format($b=$o->account->taxed($c->base_charge)*\App\Models\Invoice::billing_change($o->billing_interval,\App\Models\Invoice::BILL_MONTHLY),2) }} @endif ${{ number_format($a=$o->account->taxed($c->base_cost)*\App\Models\Invoice::billing_change($o->billing_interval,\App\Models\Invoice::BILL_MONTHLY),2) }} {!! markup($a,$b) !!}isChargeOverriden()) class="text-danger" @endif>${{ number_format($b=$o->account->taxed($p->base_charge)*\App\Models\Invoice::billing_change($o->billing_interval,\App\Models\Invoice::BILL_MONTHLY),2) }} ${{ number_format($a=$o->account->taxed($p->base_cost)*\App\Models\Invoice::billing_change($o->billing_interval,\App\Models\Invoice::BILL_MONTHLY),2) }} {!! markup($a,$b) !!}
Contract {{ $o->contract_term }} months {{ $c->supplied->contract_term }} months  {{ $p->contract_term }} months {{ $p->supplied->contract_term }} months  
Min Price ${{ number_format($b=$o->account->taxed($o->product->min_charge),2) }} ${{ number_format($a=$o->account->taxed($c->supplied->min_cost),2) }} {!! markup($a,$b) !!}${{ number_format($a=$o->account->taxed($p->min_charge),2) }} ${{ number_format($a=$o->account->taxed($p->supplied->min_cost ?? 0),2) }} {!! markup($a,$b) !!}