Orçamento #{{ $appointment->fromEstimate->isDocument->document }}

Cliente:
{{ $vehicle->vOwner->name }}
Veiculo:
{{ $vehicle->vModel->name }}
Matricula:
{{ $vehicle->licenseplate }}
@foreach ($partModelsList as $item) @endforeach @foreach ($servicesList as $item) @endforeach
Peça/Serviço Quantidade Custo/Unidade Custo/Total Margem de Lucro PVP Total
{{ $item['partModel']->name }} {{ (int) $item['amount'] }} {{ number_format((float) $item['cost'], 2) }}€ {{ number_format((float) $item['cost'] * (int) $item['amount'], 2) }}€ {{ (float) $item['profit_margin'] * 100 }}% {{ number_format(((float) $item['cost'] + ((float) $item['cost'] * (float) $item['partModel']->profit_margin)) * 1.23, 2) }}€ {{ number_format((((float) $item['cost'] + ((float) $item['cost'] * (float) $item['partModel']->profit_margin)) * 1.23) * (int) $item['amount'], 2) }}€
{{ $item['service']->name }} {{ (int) $item['amount'] }} {{ number_format((float) $item['service']->hour_rate, 2) }}€ {{ number_format((float) $item['service']->hour_rate * (int) $item['amount'], 2) }}€ {{ number_format((float) $item['service']->hour_rate * (int) $item['amount'], 2) }}€
{{ $appointment->fromEstimate->isDocument->total }}€
@if($appointment->status == 2) @endif @if($appointment->status == 3) @endif