promotion 1.0

This commit is contained in:
Kevin Adametz 2021-12-25 02:51:22 +01:00
parent 1cc8e025a1
commit 570d428b1c
60 changed files with 1596 additions and 272 deletions

View file

@ -146,7 +146,6 @@
<b>{{__('email.checkout_mail_pay_error')}}</b><br>
@elseif($txaction === 'open')
@if($shopping_payment->clearingtype === "vor")
<b>{{__('email.checkout_mail_pay_pre')}}</b><br>
{{__('email.checkout_mail_pay_pre_c1')}} {{ number_format( (float) ($shopping_payment->amount/100), 2, ",", ".") }} {{__('email.checkout_mail_pay_pre_c2')}}<br>
@ -161,16 +160,21 @@
</p>
<hr />
@else
<b>{{__('email.checkout_mail_pay_invoice_open')}}</b><br>
@if($shopping_payment->clearingtype === "non")
<b>{{__('email.checkout_mail_pay_non')}}</b><br>
@else
<b>{{__('email.checkout_mail_pay_invoice_open')}}</b><br>
@endif
@endif
@elseif($txaction === 'xxx')
<b>{{__('email.checkout_mail_pay_approved')}}</b><br>
@else
<b>{{__('email.checkout_mail_system_status')}} {{$txaction}}</b><br>
@endif
{{__('email.checkout_mail_pay_with')}} {{$shopping_payment->getPaymentType()}}<br>
@if($shopping_payment->clearingtype !== "non")
{{__('email.checkout_mail_pay_with')}} {{$shopping_payment->getPaymentType()}}<br>
@endif
{{__('email.checkout_mail_pay_ref')}} {{$shopping_payment->reference}}<br>
{{__('email.checkout_mail_your_mail')}} {{ $shopping_order->shopping_user->billing_email }}<br>
</td>
@ -274,6 +278,33 @@
<hr>
</td>
</tr>
@if($shopping_order->shipping_option === 'pick_up')
<tr>
<td class="sub_headline">
<b>{{__('email.checkout_mail_pickup_addess')}}</b>
</td>
</tr>
<tr>
<td style="color:#37302d;">
<table style="padding: 20px; border:1px solid #eee; background-color: #fff" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="color:#37302d;line-height:1.6em;">
@if($shopping_order->promotion_user)
{!! nl2br($shopping_order->promotion_user->user_address) !!}
@endif
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<hr>
</td>
</tr>
@endif
<tr>
<td style="color:#37302d;font-size: 14px;">
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">