{{ $o->product->type->supplied->supplier_detail->supplier->name }} Us  
Product #{{ ($s=$o->product->type->supplied)->id }}: {{ $s->name }} #{{ $o->product->id }}: {{ $o->product->name }} {{ $s->type }}
Setup ${{ 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) }} @if ($a > $b) ({{ number_format(($a-$b)/($b ?: 1)*100,1) }})% @else {{ number_format(($b-$a)/($a ?: 1)*100,1) }}% @endif
Billed {{ $s->billing_interval_string }} {{ $o->product->billing_interval_string }}  
Billing Charge ${{ 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) }} ${{ number_format($b=\App\Models\Tax::tax_calc($o->product->getBaseChargeAttribute($o->billing_interval),$o->account->taxes),2) }} @if ($a > $b) ({{ number_format(($a-$b)/($b ?: 1)*100,1) }})% @else {{ number_format(($b-$a)/($a ?: 1)*100,1) }}% @endif
Monthly Cost ${{ number_format($a=\App\Models\Tax::tax_calc($s->base_cost*\App\Models\Invoice::billing_change($s->billing_interval,1),$o->account->taxes),2) }} ${{ number_format($b=\App\Models\Tax::tax_calc($o->product->getBaseChargeAttribute($o->billing_interval)*\App\Models\Invoice::billing_change($o->billing_interval,1),$o->account->taxes),2) }} @if ($a > $b) ({{ number_format(($a-$b)/($b ?: 1)*100,1) }})% @else {{ number_format(($b-$a)/($a ?: 1)*100,1) }}% @endif
Contract {{ $s->contract_term }} months {{ $o->product->contract_term }} months  
Min Cost ${{ 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) }} @if ($a > $b) ({{ number_format(($a-$b)/($b ?: 1)*100,1) }})% @else {{ number_format(($b-$a)/($a ?: 1)*100,1) }}% @endif