From ddfdade76ab49fdf2397206ca51876b4d0f39687 Mon Sep 17 00:00:00 2001 From: Nadim Salloum Date: Thu, 17 Feb 2022 10:51:59 +0100 Subject: [PATCH] fix receipt seller/buyer --- resources/views/receipt.blade.php | 97 +++++++++++++++++++++---------- 1 file changed, 66 insertions(+), 31 deletions(-) diff --git a/resources/views/receipt.blade.php b/resources/views/receipt.blade.php index cc72646..fefe17c 100644 --- a/resources/views/receipt.blade.php +++ b/resources/views/receipt.blade.php @@ -62,42 +62,77 @@ MwSt-Nr: CHE-226.272.050 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @if ($contract->isSellContract()) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @else + + + + + + + + + + + + + + + + + + + + + + + + + @if ($contract->contact->email != '') + + + + + + + @endif + @endif
VerkäuferYour SwissCar GmbHKäufer{{ $contract->contact->full_title }}
StrasseBernstrasse 27Strasse{{ $contract->contact->address }}
PLZ / Ort8952 SchlierenPLZ / Ort{{ $contract->contact->full_city }}
Telefon079 680 34 44Telefon{{ $contract->contact->phone }}
  E-Mail{{ $contract->contact->email }}
VerkäuferYour SwissCar GmbHKäufer{{ $contract->contact->full_title }}
StrasseBernstrasse 27Strasse{{ $contract->contact->address }}
PLZ / Ort8952 SchlierenPLZ / Ort{{ $contract->contact->full_city }}
Telefon079 680 34 44Telefon{{ $contract->contact->phone }}
  E-Mail{{ $contract->contact->email }}
Verkäufer{{ $contract->contact->full_title }}KäuferYour SwissCar GmbH
Strasse{{ $contract->contact->address }}StrasseBernstrasse 27
PLZ / Ort{{ $contract->contact->full_city }}PLZ / Ort8952 Schlieren
Telefon{{ $contract->contact->phone }}Telefon079 680 34 44
E-Mail{{ $contract->contact->email }}  
 
- +
Fahrzeug:
{{ $contract->car->name_with_year }}, Stammnr.: {{ $contract->car->stammnummer }}{{ $contract->car->name_with_year }}
Stammnummer: {{ $contract->car->stammnummer }}