@php($c=$o->product)
This Plan | @if($p->exists) | Proposed Plan | @endif | |||
---|---|---|---|---|---|---|
Client | Supplier | @if($p->exists) | Client | Supplier | @endif | |
Product | #{{ $c->supplied->id }}: {{ $c->supplied->name_long }} | @if ($p->exists)#{{ $p->supplied->id }}: {{ $p->supplied->name_long }} | @endif{{ $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) !!} | @if ($p->exists)${{ number_format($b=$o->account->taxed($p->setup_charge),2) }} | ${{ number_format($a=$o->account->taxed($p->setup_cost),2) }} | {!! markup($a,$b) !!} | @endif
Billed | {{ $o->billing_interval_string }} | {{ $c->type->billing_interval_string }} | @if ($p->exists) | {{ $o->billing_interval_string }} | {{ $p->type->billing_interval_string }} | @endif |
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) !!} | @if ($p->exists)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) !!} | @endif
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) !!} | @if ($p->exists)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) !!} | @endif
Contract | {{ $o->contract_term }} months | {{ $c->supplied->contract_term }} months | @if ($p->exists) | {{ $p->contract_term }} months | {{ $p->supplied->contract_term }} months | @endif |
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) !!} | @if ($p->exists)${{ 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) !!} | @endif