- Cliente:
- {{ $vehicle->vOwner->name }}
- Veiculo:
- {{ $vehicle->vModel->name }}
- Matricula:
- {{ $vehicle->licenseplate }}
| Peça/Serviço |
Quantidade |
Custo/Unidade |
Custo/Total |
Margem de Lucro |
PVP |
Total |
@foreach ($partModelsList as $item)
| {{ $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) }}€ |
@endforeach
@foreach ($servicesList as $item)
| {{ $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) }}€ |
@endforeach
|
|
|
|
|
|
{{ $appointment->fromEstimate->isDocument->total }}€ |
@if($appointment->status == 2)
@endif
@if($appointment->status == 3)
@endif