File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/views/emails/contact/return.blade.php
<?php
$pAsCell = 'font-size: 12px; font-family: Arial, sans-serif; line-height: 16px; padding-bottom: 12px;';
$pStrongAsCell = 'font-size: 12px; font-family: Arial, sans-serif; line-height: 16px; padding-bottom: 12px; font-weight:bold;';
$h2AsCell = 'font-size: 20px; font-family: Arial, sans-serif; line-height: 24px; padding-bottom: 20px; font-weight:bold; color: #00b0ea;';
$vAT = 'vertical-align: top';
?>
@extends('emails.layouts.tops')
@section('title')
{{ \Lang::get('emails/customer/return.subject',['website'=>$website] )}}
@endsection
@section('content')
{{ \Lang::get('emails/customer/return.content',['website'=>$website] )}}
<p> </p>
<table style="width: 100%;">
<tr>
<td style="{{$pStrongAsCell}} width: 50%;">
{{\lang::get('emails/customer/return.order_number')}}
</td>
<td style="width: 50%;">
{{ $ordernumber }}
</td>
</tr>
<tr>
<td style="{{$pStrongAsCell}} width: 50%;">
{{\lang::get('form.name')}}
</td>
<td style="width: 50%;">
{{ $name }}
</td>
</tr>
<tr>
<td style="{{$pStrongAsCell}} width: 50%;">
{{ ucfirst(\lang::get('form.email'))}}
</td>
<td style="width: 50%;">
{{ $customer_email }}
</td>
</tr>
<tr>
<td style="{{$pStrongAsCell}} width: 50%;">
{{ucfirst(\lang::get('form.postal'))}}
</td>
<td style="width: 50%;">
{{ $postalcode }}
</td>
</tr>
<tr>
<td style="{{$pStrongAsCell}} width: 50%;">
{{ucfirst(\lang::get('form.house_number'))}}
</td>
<td style="width: 50%;">
{{ $housenumber }}
</td>
</tr>
<tr>
<td colspan="2">
<hr>
</td>
</tr>
<tr style="width: 100%;">
<td colspan="2" style="width: 100%;">
<table style="width: 100%;">
<thead>
<tr style="width: 100%;">
<th style="{{$pStrongAsCell}} text-align: left; width: 80%;">{{\lang::get('form.internal_article_number')}}</th>
<th style="{{$pStrongAsCell}} text-align: right; width: 20%;">{{\lang::get('form.amount')}}</th>
</tr>
</thead>
@if(isset($return_checkbox))
@foreach ($order_products as $order_product)
<tbody>
<tr>
<td style="{{$pAsCell}} text-align: left; width: 80%;"><strong>{{ $order_product['internal_article_number'] }}</strong><br>{{ $order_product['title'] }}</td>
<td style="{{$pAsCell}} text-align: right; width: 20%;">{{ ${'return_amount_'.$order_product['internal_article_number']} }}</td>
</tr>
</tbody>
@endforeach()
@endif
</table>
</td>
</tr>
<tr>
<td colspan="2">
<hr>
</td>
</tr>
<tr>
<td colspan="2">
<p> </p>
</td>
</tr>
<tr>
<td colspan="2" style="{{$pStrongAsCell}}">
<strong>{{\lang::get('form.why_to_return')}}</strong>
</td>
</tr>
<tr>
<td colspan="2" style="{{$pAsCell}}">
{{ \lang::get('form.'.$returnreason) }}
</td>
</tr>
<tr>
<td colspan="2">
<p> </p>
</td>
</tr>
@if($returnreason == 'article_damaged')
<table style="width: 100%;">
<tr>
<td style="{{$pAsCell}} width: 50%;"> {{ \lang::get('form.damaged_filter_amount') }}:</td>
<td style="{{$pAsCell}} width: 50%;">{{ $damagedfilteramount }}</td>
</tr>
<tr>
<td style="{{$pAsCell}} width: 50%;"> {{ \lang::get('form.damaged_filter_article_number') }}:</td>
<td style="{{$pAsCell}} width: 50%;">{{ $damagedfilterarticlenumber }}</td>
</tr>
</table>
@else
<tr>
<td colspan="2" style="{{$pStrongAsCell}}">
{{ \lang::get('form.'.$returnaction) }}</strong>
</td>
</tr>
<tr>
<td colspan="2" style="{{$pAsCell}}">
@if($returnaction == 'return_for_known_filter')
<table style="width: 100%;">
<tr>
<td colspan="2" style="{{$pAsCell}} width: 100%;">{{ $knownfilterarticlenumber }}</td>
</tr>
</table>
@elseif($returnaction == 'return_for_unknown_filter')
<table style="width: 100%;">
<tr>
<td style="{{$pAsCell}} width: 30%;">{{ \lang::get('form.unknown_filter_unit_brand') }}:</td>
<td style="{{$pAsCell}} width: 70%;">{{ $unknownfilterunitbrand }}</td>
</tr>
<tr>
<td style="{{$pAsCell}} width: 30%;">{{ \lang::get('form.unknown_filter_length') }}:</td>
<td style="{{$pAsCell}} width: 70%;">{{ $unknownfilterlength }} mm</td>
</tr>
<tr>
<td style="{{$pAsCell}} width: 30%;">{{ \lang::get('form.unknown_filter_width') }}:</td>
<td style="{{$pAsCell}} width: 70%;">{{ $unknownfilterwidth }} mm</td>
</tr>
<tr>
<td style="{{$pAsCell}} width: 30%;">{{ \lang::get('form.unknown_filter_height') }}:</td>
<td style="{{$pAsCell}} width: 70%;">{{ $unknownfilterheight }} mm</td>
</tr>
<tr>
<td style="{{$pAsCell}} width: 30%;">{{ \lang::get('form.unknown_filter_class') }}:</td>
<td style="{{$pAsCell}} width: 70%;">{{ $unknownfilterclass }}</td>
</tr>
</table>
@endif
</td>
</tr>
@endif
<tr>
<td colspan="2">
<p> </p>
</td>
</tr>
<tr>
<td colspan="2" style="{{$pStrongAsCell}}">
<strong>{{\lang::get('form.notes_title')}}</strong>
</td>
</tr>
<tr>
<td colspan="2" style="{{$pAsCell}}">
{{$returnnotes}}
</td>
</tr>
</table>
@endsection