Product |
@if ($s->exists)
#{{ $s->id }}: {{ $s->name }} |
@endif
#{{ $o->product->id }}: {{ $o->product->name }} |
@if ($s->exists)
{{ $o->product->category_name }} |
@endif
Setup |
@if ($s->exists)
${{ number_format($a=\App\Models\Tax::tax_calc($s->setup_cost,$o->account->taxes),2) }} |
${{ number_format($b=\App\Models\Tax::tax_calc($o->product->setup_charge,$o->account->taxes),2) }} |
{!! markup($a,$b) !!} |
@else
- |
@endif
Billed |
@if ($s->exists)
{{ $s->billing_interval_string }} |
@endif
{{ $o->billing_interval_string }} |
@if ($s->exists)
|
@endif
Billing Price |
@if ($s->exists)
${{ number_format($a=\App\Models\Tax::tax_calc($s->base_cost*\App\Models\Invoice::billing_change($s->billing_interval,$o->product->billing_interval),$o->account->taxes),2) }} |
@endif
${{ number_format($b=$o->billing_charge,2) }} |
@if ($s->exists)
{!! markup($a,$b) !!} |
@endif
Monthly Price |
@if ($s->exists)
${{ number_format($a=\App\Models\Tax::tax_calc($s->base_cost*\App\Models\Invoice::billing_change($s->billing_interval,1),$o->account->taxes),2) }} |
@endif
${{ number_format($b=$o->billing_monthly_price,2) }} |
@if ($s->exists)
{!! markup($a,$b) !!} |
@endif
Contract |
@if ($s->exists)
{{ $s->contract_term }} months |
@endif
{{ $o->contract_term }} months |
@if ($s->exists)
|
@endif
Min Price |
@if ($s->exists)
${{ number_format($a=\App\Models\Tax::tax_calc($s->min_cost,$o->account->taxes),2) }} |
${{ number_format($b=\App\Models\Tax::tax_calc($o->product->getMinChargeAttribute($o->billing_interval),$o->account->taxes),2) }} |
{!! markup($a,$b) !!} |
@else
- |
@endif