@if($o->product->type) @endif @if($o->product->type) @endif
Supplier{{ $o->product->type ? $o->product->type->supplier->name : 'Supplier Unknown' }}
Supplier Product#{{ $o->product_id }}: {{ $o->product->type ? $o->product->type->product->product_id : 'Product Unknown' }}
Supplier Setup${{ number_format($o->product->type->product->setup_cost*1.1,2) }}
Supplier Cost${{ number_format($o->product->type->cost,2) }}
Supplier Contract{{ $o->product->type->product->contract_term }} months
Supplier Min Cost${{ number_format((($x=$o->product->type->product)->setup_cost+$x->base_cost*$x->contract_term)*1.1,2) }}
Price${{ number_format($o->billing_monthly_price,2) }} (${{ number_format($o->billing_monthly_price*12,2) }} Annually)
Markup{{ number_format(($o->billing_monthly_price/$o->product->type->cost-1)*100,2) }}%