@extends('layouts.email', ['width' => '100%']) @section('content')
Kedves {{ $name }}!
A cserefolyamatod (Azonosító: #{{ $exchangeProcess->id }}) sikeresen elindult.
Számlázási cím:
Név: {{ $exchangeProcess->name }}
Irányítószám: {{ $exchangeProcess->postal_code }}
Település: {{ $exchangeProcess->city }}
Utca és házszám: {{ $exchangeProcess->street }}
Telefonszám: {{ $exchangeProcess->phone }}
Email: {{ $exchangeProcess->user->email }}
Szállítási cím:
Név: {{ $exchangeProcess->shipping_name }}
Irányítószám: {{ $exchangeProcess->shipping_postal_code }}
Település: {{ $exchangeProcess->shipping_city }}
Utca és házszám: {{ $exchangeProcess->shipping_street }}
Megrendelés dátuma:
   {{ convertToTimezone($exchangeProcess->created_at) }}
Státusz:
   {{ $exchangeProcess->status->label() }}
Szállítási költség:
   {{ $exchangeProcess->shipping_price }} Ft
Fizetve a termékekért:
   {{ $exchangeProcess->paid_price }} Ft
Visszaküldött termékek:
@php $total = 0; @endphp @foreach ($exchangeProcess->items as $item) @if (!$item->exchanged) @continue @endif @php $total += $item->price * $item->quantity; @endphp @endforeach
Terméknév db. Ár Ár össz.
 
{{ $item->product->name }} {{ $item->product->name }} {{ $item->quantity }} {{ $item->price }} Ft {{ $item->price * $item->quantity }} Ft
 
 
Összesen: {{ $total }} Ft
Kapott termékek:
@php $total = 0; @endphp @foreach ($exchangeProcess->items as $item) @if ($item->exchanged) @continue @endif @php $total += $item->price * $item->quantity; @endphp @endforeach
Terméknév db. Ár Ár össz.
 
{{ $item->product->name }} {{ $item->product->name }} {{ $item->quantity }} {{ $item->price }} Ft {{ $item->price * $item->quantity }} Ft
 
 
Összesen: {{ $total }} Ft
Üdvözlettel,
{{ env('APP_NAME') }}
@endsection