payment Card first 4 payments inc. mails
This commit is contained in:
parent
c20deac3fe
commit
6e3adac4d7
38 changed files with 3063 additions and 921 deletions
392
resources/views/emails/checkout.blade.php
Normal file
392
resources/views/emails/checkout.blade.php
Normal file
|
|
@ -0,0 +1,392 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>mivita.care</title>
|
||||
|
||||
<style type="text/css">
|
||||
@import url(https://fonts.googleapis.com/css?family=Roboto);
|
||||
img {
|
||||
max-width: 600px;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
border: 0;
|
||||
outline: none;
|
||||
color: #919f7a;
|
||||
}
|
||||
a:hover {
|
||||
color: #b6b600;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
td, h1, h2, h3 {
|
||||
font-family: "Roboto", Helvetica, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #37302d;
|
||||
background: #ffffff;
|
||||
font-size: 15px;
|
||||
line-height: 26px
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: separate !important;
|
||||
}
|
||||
|
||||
.headline {
|
||||
color: #37302d;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.sub_headline {
|
||||
color: #788662;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.force-full-width {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid #b7c59e;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
@media screen {
|
||||
/*Thanks Outlook 2013! http://goo.gl/XLxpyl*/
|
||||
td, h1, h2, h3 {
|
||||
font-family: 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif' !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="only screen and (max-width: 480px)">
|
||||
/* Mobile styles */
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
table[class="w320"] {
|
||||
width: 320px !important;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
<!--[if mso]>
|
||||
<style type="text/css">
|
||||
body, table, td {
|
||||
font-family: Helvetica, Arial, sans-serif !important;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
|
||||
</head>
|
||||
<body class="body" style="padding:0; margin:0; display:block; background:#f8f8f8; -webkit-text-size-adjust:none" bgcolor="#f8f8f8">
|
||||
|
||||
<div style="display: none; mso-hide: all; width: 0px; height: 0px; max-width: 0px; max-height: 0px; font-size: 0px; line-height: 0px;">
|
||||
{{ $copy1line }}
|
||||
</div>
|
||||
|
||||
<table align="left" cellpadding="0" cellspacing="0" width="100%" height="100%">
|
||||
<tr>
|
||||
<td align="left" valign="top" bgcolor="#f8f8f8" width="100%">
|
||||
<br>
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700" class="w320">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style=" text-align:center;">
|
||||
<center>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="">
|
||||
<tbody class="">
|
||||
<tr class="">
|
||||
<td align="center" valign="middle" style="font-size: 0px;" class="">
|
||||
<center>
|
||||
<picture style="text-align: center">
|
||||
<img src="https://mein.mivita.care/images/logo_mivita.png" alt="mivita.care" style="border:none" width="230">
|
||||
</picture>
|
||||
</center>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding="10" style="padding: 10px;" cellspacing="0" border="0" width="100%" bgcolor="#ffffff">
|
||||
<tr>
|
||||
<td class="headline">
|
||||
<b>{{ $salutation }} </b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
{!! nl2br($copy1line) !!}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<hr><br>
|
||||
<b> Du hast folgende Artikel bestellt:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="2" cellspacing="0" width="100%">
|
||||
@foreach($shopping_order->shopping_order_items as $shopping_order_item)
|
||||
<tr>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top; width: 10%; " >
|
||||
{{ $shopping_order_item->qty }} x
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
{{ $shopping_order_item->product->name }}
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
{{ $shopping_order_item->getFormattedPrice() }} EUR
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
Verpackungs- u. Versandkosten
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
{{ $shopping_order->getFormattedShipping() }} EUR
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
<b>Gesamtpreis</b>
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
<b>{{ $shopping_order->getFormattedTotalShipping() }} EUR</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<b>Zahlungsinfo:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="2" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b> Zahlung ist bestätigt!</b><br>
|
||||
Zahlung mit: {{$shopping_payment->getPaymentType()}}<br>
|
||||
Zahlungsreferenz: {{$shopping_payment->reference}}<br>
|
||||
Deine E-Mai: {{ $shopping_order->shopping_user->billing_email }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<b>Deine Rechnungsadresse:</b>
|
||||
</td>
|
||||
<tr>
|
||||
<td style="color:#37302d; ">
|
||||
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
@if($shopping_order->shopping_user->billing_company)
|
||||
{{ $shopping_order->shopping_user->billing_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_firstname }}
|
||||
{{ $shopping_order->shopping_user->billing_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_address }} <br>
|
||||
@if($shopping_order->shopping_user->billing_address_2)
|
||||
{{ $shopping_order->shopping_user->billing_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_zipcode }}
|
||||
{{ $shopping_order->shopping_user->billing_city }} <br>
|
||||
{{ $shopping_order->shopping_user->billing_country->getLocated() }} <br>
|
||||
|
||||
@if($shopping_order->shopping_user->billing_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->billing_phone }}<br>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<b>Deine Lieferadresse:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
@if($shopping_order->shopping_user->same_as_billing)
|
||||
Lieferadresse ist gleich Rechnungsadresse
|
||||
@else
|
||||
|
||||
@if($shopping_order->shopping_user->shipping_company)
|
||||
{{ $shopping_order->shopping_user->shipping_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_firstname }}
|
||||
{{ $shopping_order->shopping_user->shipping_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_address }} <br>
|
||||
@if($shopping_order->shopping_user->shipping_address_2)
|
||||
{{ $shopping_order->shopping_user->shipping_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_zipcode }}
|
||||
{{ $shopping_order->shopping_user->shipping_city }} <br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_country->getLocated() }} <br>
|
||||
|
||||
|
||||
@if($shopping_order->shopping_user->shipping_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->shipping_phone }}<br>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;font-size: 14px;">
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
{{ $copy3line }}
|
||||
<br>
|
||||
|
||||
@if($shopping_order->user_shop)
|
||||
@if($shopping_order->user_shop->title)
|
||||
<b>{{ $shopping_order->user_shop->title }}</b><br>
|
||||
@endif
|
||||
@if($shopping_order->user_shop->contact)
|
||||
{!! nl2br($shopping_order->user_shop->contact) !!}<br>
|
||||
@endif
|
||||
<a href="{{ $shopping_order->user_shop->getSubdomain() }}">{{ $shopping_order->user_shop->getSubdomain() }}</a>
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
<hr><br>
|
||||
{{ $greetings }} <br><b>{{ $sender }}</b>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" class="force-full-width"
|
||||
bgcolor="#f8f8f8">
|
||||
<tr>
|
||||
<td style="color:#7B7B7E; font-size:12px; line-height: 16px; text-align: center">
|
||||
<p>
|
||||
mivita e.K. | Leinfeld 2 | 87755 Kirchhaslach<br>
|
||||
Telefon: +49 (0) 8333 946 98 90 | Fax: +49 (0) 8333 7268<br>
|
||||
E-Mail: info@mivita.care<br></p>
|
||||
<a href="https://www.mivita.care" style="color: #7B7B7E; text-decoration: underline;">www.mivita.care</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#bbbbbb; font-size:12px; line-height: 16px; text-align: center">
|
||||
<p>Geschäftsinhaber: Alois Ried | Registergericht: Memmingen<br>
|
||||
Registernummer: HRA 12236 | USt-ID-Nr.: DE 244162340</p>
|
||||
|
||||
<a href="{{ Util::getUserCardBackUrl('/datenschutz') }}">Datenschutzerklärung</a><br>
|
||||
<a href="{{ Util::getUserCardBackUrl('/impressum') }}">Impressum</a><br>
|
||||
|
||||
© 2019 All Rights Reserved<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
419
resources/views/emails/checkout_status.blade.php
Normal file
419
resources/views/emails/checkout_status.blade.php
Normal file
|
|
@ -0,0 +1,419 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>mivita.care</title>
|
||||
|
||||
<style type="text/css">
|
||||
@import url(https://fonts.googleapis.com/css?family=Roboto);
|
||||
img {
|
||||
max-width: 600px;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
border: 0;
|
||||
outline: none;
|
||||
color: #919f7a;
|
||||
}
|
||||
a:hover {
|
||||
color: #b6b600;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
td, h1, h2, h3 {
|
||||
font-family: "Roboto", Helvetica, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: #37302d;
|
||||
background: #ffffff;
|
||||
font-size: 15px;
|
||||
line-height: 26px
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: separate !important;
|
||||
}
|
||||
|
||||
.headline {
|
||||
color: #37302d;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.sub_headline {
|
||||
color: #788662;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.force-full-width {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid #b7c59e;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
@media screen {
|
||||
/*Thanks Outlook 2013! http://goo.gl/XLxpyl*/
|
||||
td, h1, h2, h3 {
|
||||
font-family: 'Roboto', 'Helvetica Neue', 'Arial', 'sans-serif' !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="only screen and (max-width: 480px)">
|
||||
/* Mobile styles */
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
table[class="w320"] {
|
||||
width: 320px !important;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
<!--[if mso]>
|
||||
<style type="text/css">
|
||||
body, table, td {
|
||||
font-family: Helvetica, Arial, sans-serif !important;
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
|
||||
|
||||
</head>
|
||||
<body class="body" style="padding:0; margin:0; display:block; background:#f8f8f8; -webkit-text-size-adjust:none" bgcolor="#f8f8f8">
|
||||
|
||||
<div style="display: none; mso-hide: all; width: 0px; height: 0px; max-width: 0px; max-height: 0px; font-size: 0px; line-height: 0px;">
|
||||
{{ $copy1line }}
|
||||
</div>
|
||||
|
||||
<table align="left" cellpadding="0" cellspacing="0" width="100%" height="100%">
|
||||
<tr>
|
||||
<td align="left" valign="top" bgcolor="#f8f8f8" width="100%">
|
||||
<br>
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700" class="w320">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style=" text-align:center;">
|
||||
<center>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="">
|
||||
<tbody class="">
|
||||
<tr class="">
|
||||
<td align="center" valign="middle" style="font-size: 0px;" class="">
|
||||
<center>
|
||||
<picture style="text-align: center">
|
||||
<img src="https://mein.mivita.care/images/logo_mivita.png" alt="mivita.care" style="border:none" width="230">
|
||||
</picture>
|
||||
</center>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding="10" style="padding: 10px;" cellspacing="0" border="0" width="100%" bgcolor="#ffffff">
|
||||
<tr>
|
||||
<td class="headline">
|
||||
<b>{{ $salutation }} </b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
{!! nl2br($copy1line) !!}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<b>Statusinfo:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="2" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
@if($txaction == 'failed')
|
||||
<b> Die Zahlung ist fehlgeschlagen!</b><br>
|
||||
@elseif($txaction == 'appointed')
|
||||
|
||||
@if($shopping_payment->clearingtype == "vor")
|
||||
<b>Bezahlung per Vorkasse:</b><br>
|
||||
Bitte überweise {{ number_format( floatval($shopping_payment->amount/100), 2, ",", ".") }} EUR auf die folgende Kontoverbindung, um den Kauf abzuschließen.<br>
|
||||
<p>
|
||||
@php($pay_trans = $shopping_payment->payment_transactions->where('request', 'preauthorization')->last())
|
||||
|
||||
|
||||
<b>Kontoinhaber:</b> {{ $pay_trans->transmitted_data['clearing_bankaccountholder'] }} <br>
|
||||
<b>IBAN:</b> {{ $pay_trans->transmitted_data['clearing_bankiban'] }} <br>
|
||||
<b>BIC:</b> {{ $pay_trans->transmitted_data['clearing_bankbic'] }} <br>
|
||||
<b>Bank:</b> {{ $pay_trans->transmitted_data['clearing_bankname'] }} <br>
|
||||
<b>Gesamtbetrag:</b> {{ number_format( floatval($pay_trans->shopping_payment->amount/100), 2, ",", ".") }} EUR<br>
|
||||
<b>Verwendungszweck:</b> {{ $pay_trans->transmitted_data['clearing_bankcode'] }}
|
||||
</p>
|
||||
<hr />
|
||||
@else
|
||||
<b>Deine Zahlung wurde genehmigt, eine Bestätigung der Zahlung wird automatisch erstellt.</b><br>
|
||||
@endif
|
||||
@else
|
||||
<b> SystemStatus: {{$txaction}}</b><br>
|
||||
|
||||
@endif
|
||||
|
||||
Zahlung mit: {{$shopping_payment->getPaymentType()}}<br>
|
||||
Zahlungsreferenz: {{$shopping_payment->reference}}<br>
|
||||
Deine E-Mai: {{ $shopping_order->shopping_user->billing_email }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<hr><br>
|
||||
<b> Du hast folgende Artikel bestellt:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="2" cellspacing="0" width="100%">
|
||||
@foreach($shopping_order->shopping_order_items as $shopping_order_item)
|
||||
<tr>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top; width: 10%; " >
|
||||
{{ $shopping_order_item->qty }} x
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
{{ $shopping_order_item->product->name }}
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
{{ $shopping_order_item->getFormattedPrice() }} EUR
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
Verpackungs- u. Versandkosten
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
{{ $shopping_order->getFormattedShipping() }} EUR
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
<b>Gesamtpreis</b>
|
||||
</td>
|
||||
<td style="color:#37302d; text-align: left; vertical-align: top;">
|
||||
<b>{{ $shopping_order->getFormattedTotalShipping() }} EUR</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<b>Deine Rechnungsadresse:</b>
|
||||
</td>
|
||||
<tr>
|
||||
<td style="color:#37302d; ">
|
||||
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
@if($shopping_order->shopping_user->billing_company)
|
||||
{{ $shopping_order->shopping_user->billing_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_firstname }}
|
||||
{{ $shopping_order->shopping_user->billing_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_address }} <br>
|
||||
@if($shopping_order->shopping_user->billing_address_2)
|
||||
{{ $shopping_order->shopping_user->billing_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->billing_zipcode }}
|
||||
{{ $shopping_order->shopping_user->billing_city }} <br>
|
||||
{{ $shopping_order->shopping_user->billing_country->getLocated() }} <br>
|
||||
|
||||
@if($shopping_order->shopping_user->billing_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->billing_phone }}<br>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sub_headline">
|
||||
<b>Deine Lieferadresse:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
<table style="padding: 20px; border:1px solid #eee; background-color: #f6fdf5" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
@if($shopping_order->shopping_user->same_as_billing)
|
||||
Lieferadresse ist gleich Rechnungsadresse
|
||||
@else
|
||||
|
||||
@if($shopping_order->shopping_user->shipping_company)
|
||||
{{ $shopping_order->shopping_user->shipping_company }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_firstname }}
|
||||
{{ $shopping_order->shopping_user->shipping_lastname }} <br>
|
||||
<br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_address }} <br>
|
||||
@if($shopping_order->shopping_user->shipping_address_2)
|
||||
{{ $shopping_order->shopping_user->shipping_address_2 }}<br>
|
||||
@endif
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_zipcode }}
|
||||
{{ $shopping_order->shopping_user->shipping_city }} <br>
|
||||
|
||||
{{ $shopping_order->shopping_user->shipping_country->getLocated() }} <br>
|
||||
|
||||
|
||||
@if($shopping_order->shopping_user->shipping_phone)
|
||||
<br><br> {{ $shopping_order->shopping_user->shipping_phone }}<br>
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#37302d;font-size: 14px;">
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td style="color:#37302d;">
|
||||
{{ $copy3line }}
|
||||
<br>
|
||||
|
||||
@if($shopping_order->user_shop)
|
||||
@if($shopping_order->user_shop->title)
|
||||
<b>{{ $shopping_order->user_shop->title }}</b><br>
|
||||
@endif
|
||||
@if($shopping_order->user_shop->contact)
|
||||
{!! nl2br($shopping_order->user_shop->contact) !!}<br>
|
||||
@endif
|
||||
<a href="{{ $shopping_order->user_shop->getSubdomain() }}">{{ $shopping_order->user_shop->getSubdomain() }}</a>
|
||||
|
||||
@endif
|
||||
|
||||
|
||||
<hr><br>
|
||||
{{ $greetings }} <br><b>{{ $sender }}</b>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" class="force-full-width"
|
||||
bgcolor="#f8f8f8">
|
||||
<tr>
|
||||
<td style="color:#7B7B7E; font-size:12px; line-height: 16px; text-align: center">
|
||||
<p>
|
||||
mivita e.K. | Leinfeld 2 | 87755 Kirchhaslach<br>
|
||||
Telefon: +49 (0) 8333 946 98 90 | Fax: +49 (0) 8333 7268<br>
|
||||
E-Mail: info@mivita.care<br></p>
|
||||
<a href="https://www.mivita.care" style="color: #7B7B7E; text-decoration: underline;">www.mivita.care</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="color:#bbbbbb; font-size:12px; line-height: 16px; text-align: center">
|
||||
<p>Geschäftsinhaber: Alois Ried | Registergericht: Memmingen<br>
|
||||
Registernummer: HRA 12236 | USt-ID-Nr.: DE 244162340</p>
|
||||
|
||||
<a href="{{ Util::getUserCardBackUrl('/datenschutz') }}">Datenschutzerklärung</a><br>
|
||||
<a href="{{ Util::getUserCardBackUrl('/impressum') }}">Impressum</a><br>
|
||||
|
||||
© 2019 All Rights Reserved<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -92,18 +92,37 @@
|
|||
<!-- CHECKOUT FINAL MESSAGE -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<h3>Thank you, John Doe.</h3>
|
||||
|
||||
<p>
|
||||
Your order has been placed. In a few moments you will receive an order confirmation email from us.<br />
|
||||
If you like, you can explore more <a href="{{ url('produkte') }}"> products</a>.
|
||||
</p>
|
||||
<h3>Vielen Dank, </h3>
|
||||
<p>Deine Bestellung wurde aufgenommen. In Kürze erhälst du von uns eine Bestellbestätigungs-E-Mail.</p>
|
||||
|
||||
<h4>Deine Bestellnummer ist: {{ $order_reference }}</h4>
|
||||
<hr />
|
||||
|
||||
@if($pay_trans && $pay_trans->shopping_payment)
|
||||
|
||||
@if($pay_trans->shopping_payment->clearingtype == "vor")
|
||||
<h3>Bezahlung per Vorkasse:</h3>
|
||||
<p>Bitte überweise {{ number_format( floatval($pay_trans->shopping_payment->amount/100), 2, ",", ".") }} EUR auf die folgende Kontoverbindung, um den Kauf abzuschließen.
|
||||
<br>
|
||||
<strong>Kontoinhaber:</strong> {{ $pay_trans->transmitted_data['clearing_bankaccountholder'] }} <br>
|
||||
<strong>IBAN:</strong> {{ $pay_trans->transmitted_data['clearing_bankiban'] }} <br>
|
||||
<strong>BIC:</strong> {{ $pay_trans->transmitted_data['clearing_bankbic'] }} <br>
|
||||
<strong>Bank:</strong> {{ $pay_trans->transmitted_data['clearing_bankname'] }} <br>
|
||||
<strong>Gesamtbetrag:</strong> {{ number_format( floatval($pay_trans->shopping_payment->amount/100), 2, ",", ".") }} EUR<br>
|
||||
<strong>Verwendungszweck:</strong> {{ $pay_trans->transmitted_data['clearing_bankcode'] }}
|
||||
</p>
|
||||
<hr />
|
||||
@endif
|
||||
|
||||
@if($pay_trans->shopping_payment->clearingtype == "cc")
|
||||
<h4>Bezahlung per Kreditkarte:</h4>
|
||||
<p>Deine Zahlung wurde genehmigt, eine Bestätigung der Zahlung wird automatisch erstellt.</p>
|
||||
<hr />
|
||||
@endif
|
||||
@endif
|
||||
<p>
|
||||
Thank you very much for choosing us,<br />
|
||||
<strong> Inc.</strong>
|
||||
Dein Team von,<br />
|
||||
<strong> mivita.</strong>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -84,13 +84,20 @@
|
|||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.error .select2-selection {
|
||||
.cc_error {
|
||||
border: #bf6464 2px dashed;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.error .select2-selection, .error select.form-control {
|
||||
border: #bf6464 2px dashed;
|
||||
}
|
||||
|
||||
fieldset.softhide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
<!-- -->
|
||||
<!-- CART -->
|
||||
|
|
@ -141,6 +148,18 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
@if (\Session::has('errormessage'))
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="alert alert-danger">
|
||||
{{ \Session::get('customermessage') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="m-checkout">
|
||||
{!! Form::open(['url' => route('checkout.checkout_card_final'), 'class' => 'row clearfix', 'id'=>'']) !!}
|
||||
|
|
@ -153,19 +172,19 @@
|
|||
<div class="col-md-12 col-sm-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_company">Firmenname (optional)</label>
|
||||
{!! Form::text('billing[company]', null, ['class' => 'form-control', 'id'=>'billing_company']) !!}
|
||||
{!! Form::text('billing_company', $shopping_user->billing_company, ['class' => 'form-control', 'id'=>'billing_company']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<div class="form-group {{($errors->has('billing.salutation') ? 'error' : '')}}">
|
||||
<div class="form-group {{($errors->has('billing_salutation') ? 'error' : '')}}">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_salutation">Anrede *</label>
|
||||
<select id="billing_salutation" name="billing[salutation]" class="form-control select2">
|
||||
{!! HTMLHelper::getSalutation(1) !!}
|
||||
<select id="billing_salutation" name="billing_salutation" class="form-control selectpicker">
|
||||
{!! HTMLHelper::getSalutation(($shopping_user->billing_salutation ? $shopping_user->billing_salutation : old('billing_salutation'))) !!}
|
||||
</select>
|
||||
@if ($errors->has('billing.salutation'))
|
||||
<label for="billing_salutation" class="error text-danger small" style="display: block;">{{ $errors->first('billing.salutation') }}</label>
|
||||
@if ($errors->has('billing_salutation'))
|
||||
<label for="billing_salutation" class="error text-danger small" style="display: block;">{{ $errors->first('billing_salutation') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -174,18 +193,18 @@
|
|||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_firstname">Vorname*</label>
|
||||
{!! Form::text('billing[firstname]', null, ['class' => 'form-control '.($errors->has('billing.firstname') ? 'error' : ''), 'id'=>'billing_firstname']) !!}
|
||||
@if ($errors->has('billing.firstname'))
|
||||
<label for="billing_firstname" class="error text-danger small" style="display: block;">{{ $errors->first('billing.firstname') }}</label>
|
||||
{!! Form::text('billing_firstname', $shopping_user->billing_firstname, ['class' => 'form-control '.($errors->has('billing_firstname') ? 'error' : ''), 'id'=>'billing_firstname']) !!}
|
||||
@if ($errors->has('billing_firstname'))
|
||||
<label for="billing_firstname" class="error text-danger small" style="display: block;">{{ $errors->first('billing_firstname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_lastname">Nachname*</label>
|
||||
{!! Form::text('billing[lastname]', null, ['class' => 'form-control '.($errors->has('billing.lastname') ? 'error' : ''), 'id'=>'billing_lastname']) !!}
|
||||
@if ($errors->has('billing.lastname'))
|
||||
<label for="billing_lastname" class="error text-danger small" style="display: block;">{{ $errors->first('billing.lastname') }}</label>
|
||||
{!! Form::text('billing_lastname', $shopping_user->billing_lastname, ['class' => 'form-control '.($errors->has('billing_lastname') ? 'error' : ''), 'id'=>'billing_lastname']) !!}
|
||||
@if ($errors->has('billing_lastname'))
|
||||
<label for="billing_lastname" class="error text-danger small" style="display: block;">{{ $errors->first('billing_lastname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -195,18 +214,18 @@
|
|||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_address">Straße Nr. *</label>
|
||||
{!! Form::text('billing[address]', null, ['class' => 'form-control '.($errors->has('billing.address') ? 'error' : ''), 'id'=>'billing_address']) !!}
|
||||
@if ($errors->has('billing.address'))
|
||||
<label for="billing_address" class="error text-danger small" style="display: block;">{{ $errors->first('billing.address') }}</label>
|
||||
{!! Form::text('billing_address', $shopping_user->billing_address, ['class' => 'form-control '.($errors->has('billing_address') ? 'error' : ''), 'id'=>'billing_address']) !!}
|
||||
@if ($errors->has('billing_address'))
|
||||
<label for="billing_address" class="error text-danger small" style="display: block;">{{ $errors->first('billing_address') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_address_2">Wohnung / Gebäude (optional)</label>
|
||||
{!! Form::text('billing[address_2]', null, ['class' => 'form-control '.($errors->has('billing.address_2') ? 'error' : ''), 'id'=>'billing_address_2']) !!}
|
||||
@if ($errors->has('billing.address_]'))
|
||||
<label for="billing_address_2" class="error text-danger small" style="display: block;">{{ $errors->first('billing.address_2') }}</label>
|
||||
{!! Form::text('billing_address_2', $shopping_user->billing_address_2, ['class' => 'form-control '.($errors->has('billing_address_2') ? 'error' : ''), 'id'=>'billing_address_2']) !!}
|
||||
@if ($errors->has('billing_address_2'))
|
||||
<label for="billing_address_2" class="error text-danger small" style="display: block;">{{ $errors->first('billing_address_2') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -215,44 +234,44 @@
|
|||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_zipcode">PLZ *</label>
|
||||
{!! Form::text('billing[zipcode]', null, ['class' => 'form-control '.($errors->has('billing.zipcode') ? 'error' : ''), 'id'=>'billing_zipcode']) !!}
|
||||
@if ($errors->has('billing.zipcode'))
|
||||
<label for="billing_zipcode" class="error text-danger small" style="display: block;">{{ $errors->first('billing.zipcode') }}</label>
|
||||
{!! Form::text('billing_zipcode', $shopping_user->billing_zipcode, ['class' => 'form-control '.($errors->has('billing_zipcode') ? 'error' : ''), 'id'=>'billing_zipcode']) !!}
|
||||
@if ($errors->has('billing_zipcode'))
|
||||
<label for="billing_zipcode" class="error text-danger small" style="display: block;">{{ $errors->first('billing_zipcode') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_city">Stadt *</label>
|
||||
{!! Form::text('billing[city]', null, ['class' => 'form-control '.($errors->has('billing.city') ? 'error' : ''), 'id'=>'billing_city']) !!}
|
||||
@if ($errors->has('billing.city'))
|
||||
<label for="billing_city" class="error text-danger small" style="display: block;">{{ $errors->first('billing.city') }}</label>
|
||||
{!! Form::text('billing_city', $shopping_user->billing_city, ['class' => 'form-control '.($errors->has('billing_city') ? 'error' : ''), 'id'=>'billing_city']) !!}
|
||||
@if ($errors->has('billing_city'))
|
||||
<label for="billing_city" class="error text-danger small" style="display: block;">{{ $errors->first('billing_city') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_state">Land *</label>
|
||||
<select id="billing_state" name="billing[state]" class="form-control select2 required" disabled="true">
|
||||
<select id="billing_state" name="billing_state" class="form-control select2 required" disabled="true">
|
||||
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountryId()) !!}
|
||||
</select>
|
||||
<input type="hidden" name="billing[country_id]" value="{{Yard::instance('shopping')->getShippingCountryId()}}">
|
||||
<input type="hidden" name="billing_country_id" value="{{Yard::instance('shopping')->getShippingCountryId()}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_phone">Telefon (optional)</label>
|
||||
{!! Form::text('billing[phone]', null, ['class' => 'form-control '.($errors->has('billing.phone') ? 'error' : ''), 'id'=>'billing_phone']) !!}
|
||||
@if ($errors->has('billing.phone'))
|
||||
<label for="billing_phone" class="error text-danger small" style="display: block;">{{ $errors->first('billing.phone') }}</label>
|
||||
{!! Form::text('billing_phone', $shopping_user->billing_phone, ['class' => 'form-control '.($errors->has('billing_phone') ? 'error' : ''), 'id'=>'billing_phone']) !!}
|
||||
@if ($errors->has('billing_phone'))
|
||||
<label for="billing_phone" class="error text-danger small" style="display: block;">{{ $errors->first('billing_phone') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="billing_email">E-Mail *</label>
|
||||
{!! Form::email('billing[email]', null, ['class' => 'form-control '.($errors->has('billing.email') ? 'error' : ''), 'id'=>'billing_email']) !!}
|
||||
@if ($errors->has('billing.email'))
|
||||
<label for="billing_email" class="error text-danger small" style="display: block;">{{ $errors->first('billing.email') }}</label>
|
||||
{!! Form::email('billing_email', $shopping_user->billing_email, ['class' => 'form-control '.($errors->has('billing_email') ? 'error' : ''), 'id'=>'billing_email']) !!}
|
||||
@if ($errors->has('billing_email'))
|
||||
<label for="billing_email" class="error text-danger small" style="display: block;">{{ $errors->first('billing_email') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -261,7 +280,7 @@
|
|||
<div class="col-md-12 col-sm-12">
|
||||
<hr>
|
||||
<label class="checkbox {{ ($errors->has('accepted_data_checkbox') ? 'error' : '') }}" for="accepted_data_checkbox" style="font-size: 14px;line-height: 22px; font-weight: 400">
|
||||
{!! Form::checkbox('accepted_data_checkbox', 1, false, ['id'=>'accepted_data_checkbox', 'class' => 'form-control '.($errors->has('accepted_data_checkbox') ? 'error' : '')]) !!}
|
||||
{!! Form::checkbox('accepted_data_checkbox', 1, $shopping_user->accepted_data_checkbox, ['id'=>'accepted_data_checkbox', 'class' => 'form-control '.($errors->has('accepted_data_checkbox') ? 'error' : '')]) !!}
|
||||
<i></i> Mit Klick auf "Jetzt kaufen" akzeptiere ich die <a href="{{ url('/datenschutz') }}">Allgemeinen Geschäftsbedingungen</a>, die <a href="{{ url('/datenschutz') }}">Widerrufsbestimmungen</a> und die <a href="{{ url('/datenschutz') }}">Datenschutzbelehrung</a>, damit für die Bestellung meine Daten verarbeitet werden können.
|
||||
</label>
|
||||
@if ($errors->has('accepted_data_checkbox'))
|
||||
|
|
@ -276,7 +295,7 @@
|
|||
<div class="col-lg-12 nomargin clearfix">
|
||||
<hr>
|
||||
<label class="mt-0 fs-14 fw-400 checkbox pull-left"><!-- see assets/js/view/demo.shop.js - CHECKOUT section -->
|
||||
{!! Form::checkbox('shipping[same_as_billing]', 1, true, ['id'=>'shipswitch', 'class' => '']) !!}
|
||||
{!! Form::checkbox('same_as_billing', 1, $shopping_user->same_as_billing, ['id'=>'shipswitch', 'class' => '']) !!}
|
||||
<i></i> <span class="weight-300">Versand an die gleiche Adresse</span>
|
||||
</label>
|
||||
</div>
|
||||
|
|
@ -298,19 +317,23 @@
|
|||
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_company">Firmenname (optional)</label>
|
||||
{!! Form::text('shipping[company]', null, ['class' => 'form-control', 'id'=>'billing_company']) !!}
|
||||
{!! Form::text('shipping_company', $shopping_user->shipping_company, ['class' => 'form-control', 'id'=>'billing_company']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<div class="form-group {{($errors->has('billing_salutation') ? 'error' : '')}}">
|
||||
|
||||
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_salutation">Anrede *</label>
|
||||
<select id="shipping_salutation" name="shipping[salutation]" class="form-control select2">
|
||||
{!! HTMLHelper::getSalutation(1) !!}
|
||||
<select id="shipping_salutation" name="shipping_salutation" class="form-control selectpicker">
|
||||
{!! HTMLHelper::getSalutation(($shopping_user->shipping_salutation ? $shopping_user->shipping_salutation : old('shipping_salutation'))) !!}
|
||||
</select>
|
||||
@if ($errors->has('shipping.firstname'))
|
||||
<label for="shipping_salutation" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.salutation') }}</label>
|
||||
@if ($errors->has('shipping_salutation'))
|
||||
<label for="shipping_salutation" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_salutation') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -318,18 +341,18 @@
|
|||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_firstname">Vorname*</label>
|
||||
{!! Form::text('shipping[firstname]', null, ['class' => 'form-control '.($errors->has('shipping.firstname') ? 'error' : ''), 'id'=>'shipping_firstname']) !!}
|
||||
@if ($errors->has('shipping.firstname'))
|
||||
<label for="shipping_firstname" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.firstname') }}</label>
|
||||
{!! Form::text('shipping_firstname', $shopping_user->shipping_firstname, ['class' => 'form-control '.($errors->has('shipping_firstname') ? 'error' : ''), 'id'=>'shipping_firstname']) !!}
|
||||
@if ($errors->has('shipping_firstname'))
|
||||
<label for="shipping_firstname" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_firstname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_lastname">Nachname*</label>
|
||||
{!! Form::text('shipping[lastname]', null, ['class' => 'form-control '.($errors->has('shipping.lastname') ? 'error' : ''), 'id'=>'shipping_lastname']) !!}
|
||||
@if ($errors->has('shipping.lastname'))
|
||||
<label for="shipping_lastname" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.lastname') }}</label>
|
||||
{!! Form::text('shipping_lastname', $shopping_user->shipping_lastname, ['class' => 'form-control '.($errors->has('shipping_lastname') ? 'error' : ''), 'id'=>'shipping_lastname']) !!}
|
||||
@if ($errors->has('shipping_lastname'))
|
||||
<label for="shipping_lastname" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_lastname') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -339,18 +362,18 @@
|
|||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_address">Straße Nr. *</label>
|
||||
{!! Form::text('shipping[address]', null, ['class' => 'form-control '.($errors->has('shipping.address') ? 'error' : ''), 'id'=>'shipping_address']) !!}
|
||||
@if ($errors->has('shipping.address'))
|
||||
<label for="shipping_address" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.address') }}</label>
|
||||
{!! Form::text('shipping_address', $shopping_user->shipping_address, ['class' => 'form-control '.($errors->has('shipping_address') ? 'error' : ''), 'id'=>'shipping_address']) !!}
|
||||
@if ($errors->has('shipping_address'))
|
||||
<label for="shipping_address" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_address') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_address_2">Wohnung / Gebäude (optional)</label>
|
||||
{!! Form::text('shipping[address_2]', null, ['class' => 'form-control '.($errors->has('shipping.address_2') ? 'error' : ''), 'id'=>'shipping_address_2']) !!}
|
||||
@if ($errors->has('shipping.address_]'))
|
||||
<label for="shipping_address_2" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.address_2') }}</label>
|
||||
{!! Form::text('shipping_address_2', $shopping_user->shipping_address_2, ['class' => 'form-control '.($errors->has('shipping_address_2') ? 'error' : ''), 'id'=>'shipping_address_2']) !!}
|
||||
@if ($errors->has('shipping_address_2'))
|
||||
<label for="shipping_address_2" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_address_2') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -359,16 +382,16 @@
|
|||
<div class="row">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_zipcode">PLZ *</label>
|
||||
{!! Form::text('shipping[zipcode]', null, ['class' => 'form-control '.($errors->has('shipping.zipcode') ? 'error' : ''), 'id'=>'shipping_zipcode']) !!}
|
||||
@if ($errors->has('shipping.zipcode'))
|
||||
<label for="shipping_zipcode" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.zipcode') }}</label>
|
||||
{!! Form::text('shipping_zipcode', $shopping_user->shipping_zipcode, ['class' => 'form-control '.($errors->has('shipping_zipcode') ? 'error' : ''), 'id'=>'shipping_zipcode']) !!}
|
||||
@if ($errors->has('shipping_zipcode'))
|
||||
<label for="shipping_zipcode" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_zipcode') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_city">Stadt *</label>
|
||||
{!! Form::text('shipping[city]', null, ['class' => 'form-control '.($errors->has('shipping.city') ? 'error' : ''), 'id'=>'shipping_city']) !!}
|
||||
@if ($errors->has('shipping.city'))
|
||||
<label for="shipping_city" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.city') }}</label>
|
||||
{!! Form::text('shipping_city', $shopping_user->shipping_city, ['class' => 'form-control '.($errors->has('shipping_city') ? 'error' : ''), 'id'=>'shipping_city']) !!}
|
||||
@if ($errors->has('shipping_city'))
|
||||
<label for="shipping_city" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_city') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
|
@ -377,19 +400,19 @@
|
|||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_state">Land *</label>
|
||||
<select id="shipping_state" name="shipping[state]" class="form-control select2 required" disabled="true">
|
||||
<select id="shipping_state" name="shipping_state" class="form-control select2 required" disabled="true">
|
||||
{!! HTMLHelper::getCountriesForShipping(Yard::instance('shopping')->getShippingCountryId()) !!}
|
||||
</select>
|
||||
<input type="hidden" name="shipping[country_id]" value="{{Yard::instance('shopping')->getShippingCountryId()}}">
|
||||
<input type="hidden" name="shipping_country_id" value="{{Yard::instance('shopping')->getShippingCountryId()}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_phone">Telefon (optional)</label>
|
||||
{!! Form::text('shipping[phone]', null, ['class' => 'form-control '.($errors->has('shipping.phone') ? 'error' : ''), 'id'=>'shipping_phone']) !!}
|
||||
@if ($errors->has('shipping.phone'))
|
||||
<label for="shipping_phone" class="error text-danger small" style="display: block;">{{ $errors->first('shipping.phone') }}</label>
|
||||
{!! Form::text('shipping_phone', $shopping_user->shipping_phone, ['class' => 'form-control '.($errors->has('shipping_phone') ? 'error' : ''), 'id'=>'shipping_phone']) !!}
|
||||
@if ($errors->has('shipping_phone'))
|
||||
<label for="shipping_phone" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_phone') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -408,55 +431,61 @@
|
|||
<h4>Zahlungsart</h4>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="toggle-transparent toggle-bordered-full clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
|
||||
|
||||
<div class="row nomargin-bottom">
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left nomargin-top">
|
||||
<input name="payment_method" type="radio" value="wlt#PPE" checked="checked" />
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left nomargin-top" style="width: 100%">
|
||||
{!! Form::radio('payment_method', 'wlt#PPE', (!old('payment_method') ? '1' : '')) !!}
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> PayPal</span>
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/paypal.png')}}" alt="Mastercard + Visa">
|
||||
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left nomargin-top">
|
||||
<input name="payment_method" type="radio" value="cc" />
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> Visa oder MasterCard (inkl. Maestro)</span>
|
||||
<label class="mt-4 fs-14 fw-400 radio pull-left nomargin-top" style="width: 100%">
|
||||
{!! Form::radio('payment_method', 'cc', '') !!}
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> Kreditkarte</span>
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/creditcard.png')}}" alt="Mastercard + Visa">
|
||||
</label>
|
||||
</div>
|
||||
{{-- <div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left" style="width: 100%">
|
||||
<input name="payment_method" type="radio" value="sb#GPY" />
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> giropay - Online-Überweisung</span>
|
||||
</label>
|
||||
</div>
|
||||
--}}
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input name="payment_method" type="radio" value="sb#PNT" />
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> Sofort - Online-Überweisung</span>
|
||||
<label class="mt-4 fs-14 fw-400 radio pull-left" style="width: 100%">
|
||||
{!! Form::radio('payment_method', 'sb#PNT', '') !!}
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> Sofort -Überweisung</span>
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/sofort.png')}}" alt="Sofort">
|
||||
</label>
|
||||
</div>
|
||||
{{-- <div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
|
||||
<!--<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left" style="width: 100%">
|
||||
<input name="payment_method" type="radio" value="wlt#PDT" />
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> paydirekt </span>
|
||||
</label>
|
||||
</div>
|
||||
--}}
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input name="payment_method" type="radio" value="fnc" />
|
||||
-->
|
||||
|
||||
<!-- <div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left" style="width: 100%">
|
||||
<input name="payment_method" type="radio" value="fnc#PYS" />
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> Rechnungskauf</span>
|
||||
</label>
|
||||
</div>
|
||||
-->
|
||||
<div class="col-lg-12 nomargin clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 radio pull-left">
|
||||
<input name="payment_method" type="radio" value="prefore" />
|
||||
<i></i> <span class="weight-400">Vorauskasse</span>
|
||||
<label class="mt-4 fs-14 fw-400 radio pull-left" style="width: 100%">
|
||||
{!! Form::radio('payment_method', 'vor', '') !!}
|
||||
<i></i> <span class="weight-400"><span class="fa fa-check text-primary"></span> Vorkasse</span>
|
||||
<img class="float-right" width="90" src="{{asset('images/payments-assets/vor.png')}}" alt="Vorkasse">
|
||||
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -467,6 +496,85 @@
|
|||
</fieldset>
|
||||
<!-- /PAYMENT METHOD -->
|
||||
|
||||
<!-- PAYMENT METHOD -->
|
||||
<fieldset class="box-border-shadow p-20 softhide @if (\Session::has('cc-error')) cc_error @endif" id="creditcard-box-holder">
|
||||
|
||||
<style>
|
||||
#cc_content_check .form-group {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#cc_content_check input.form-control {
|
||||
padding: 14px 20px;
|
||||
}
|
||||
</style>
|
||||
<h4>Kreditkarte</h4>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="toggle-transparent toggle-bordered-full clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content" id="cc_content_check">
|
||||
<input type="hidden" name="pseudocardpan" id="pseudocardpan">
|
||||
<input type="hidden" name="truncatedcardpan" id="truncatedcardpan">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400" for="cc_cardtype">Kreditkarte *</label>
|
||||
<select id="cc_cardtype" name="cc_cardtype" class="form-control selectpicker">
|
||||
<option value="V" @if(old('cc_cardtype') && old('cc_cardtype') == 'V') selected="selected" @endif>VISA</option>
|
||||
<option value="M" @if(old('cc_cardtype') && old('cc_cardtype') == 'M') selected="selected" @endif>Mastercard</option>
|
||||
<!-- <option value="A">Amex</option> -->
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<label class="mt-0 fs-14 fw-400">Inhaber*</label>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
{!! Form::text('cc_cardholder_first', '', ['class' => 'form-control', 'id'=>'cc_cardholder_first', 'placeholder'=>'Vorname']) !!}
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
{!! Form::text('cc_cardholder_last', '', ['class' => 'form-control', 'id'=>'cc_cardholder_last', 'placeholder'=>'Nachname']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="mt-0 fs-14 fw-400">Kreditkartennummer*</label>
|
||||
|
||||
{!! Form::text('cc_cardpan', '', ['class' => 'form-control', 'id'=>'cc_cardpan', 'placeholder'=>'Kreditkartennummer']) !!}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-12 col-md-8">
|
||||
<label class="mt-0 fs-14 fw-400">Gültis bis*</label>
|
||||
<div style="width: 40%" class="float-left">
|
||||
<select id="cc_cardexpiremonth" name="cc_cardexpiremonth" class="form-control selectpicker">
|
||||
@php( $months = range(1, 12))
|
||||
@foreach($months as $month)
|
||||
@php( $month = sprintf('%02d', $month) )
|
||||
<option value="{{$month}}" @if(old('cc_cardexpiremonth') && old('cc_cardexpiremonth') == $month) selected="selected" @endif>{{$month}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<div style="width: 60%;" class="float-right">
|
||||
<select id="cc_cardexpireyear" name="cc_cardexpireyear" class="form-control selectpicker">
|
||||
@php( $years = range(date("Y"), date('Y', strtotime('+6 years'))) )
|
||||
@foreach($years as $year)
|
||||
<option value="{{$year}}" @if(old('cc_cardexpireyear') && old('cc_cardexpireyear') == $year) selected="selected" @endif>{{$year}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-sm-12 col-md-4">
|
||||
<label class="mt-0 fs-14 fw-400">Prüfnr.*</label>
|
||||
|
||||
{!! Form::text('cc_cardcvc2', '', ['class' => 'form-control', 'id'=>'cc_cardcvc2', 'placeholder'=>'CVC*']) !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<!-- TOTAL / PLACE ORDER -->
|
||||
<div class="toggle-transparent toggle-bordered-full clearfix">
|
||||
<div class="toggle active">
|
||||
|
|
@ -517,46 +625,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /TOTAL / PLACE ORDER -->
|
||||
{{--
|
||||
<!-- CREATE ACCOUNT -->
|
||||
<div class="toggle-transparent toggle-bordered-full margin-top-30 clearfix">
|
||||
<div class="toggle active">
|
||||
<div class="toggle-content">
|
||||
|
||||
<div class="clearfix">
|
||||
<label class="mt-0 fs-14 fw-400 checkbox pull-left">
|
||||
<input id="accountswitch" name="create-account[yes]" type="checkbox" value="1" />
|
||||
<i></i> <span class="weight-300">Create an account for later use</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<!-- CREATE ACCOUNT FORM -->
|
||||
<div id="newaccount" class="margin-top-10 margin-bottom-30 softhide">
|
||||
|
||||
<div class="row nomargin-bottom">
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="account:password">Password *</label>
|
||||
<input id="account:password" name="account[password]" type="password" class="form-control" />
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="account:password2">Confirm Password *</label>
|
||||
<input id="account:password2" name="account[password2]" type="password" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<small class="text-warning">NOTE: Email address will be used to login</small>
|
||||
|
||||
</div>
|
||||
<!-- /CREATE ACCOUNT FORM -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CREATE ACCOUNT -->
|
||||
--}}
|
||||
|
||||
</div>
|
||||
<!-- /CHECKOUT -->
|
||||
{!! Form::close() !!}
|
||||
|
|
|
|||
|
|
@ -80,6 +80,87 @@
|
|||
jQuery('.quick-cart-box').css('display', 'none');
|
||||
});
|
||||
|
||||
|
||||
function showCreditCardPayment(val){
|
||||
console.log(val);
|
||||
if(val === 'cc'){
|
||||
$('#creditcard-box-holder').show('slow');
|
||||
}else{
|
||||
$('#creditcard-box-holder').hide('slow');
|
||||
}
|
||||
|
||||
}
|
||||
showCreditCardPayment(jQuery('input[name="payment_method"]:checked').val());
|
||||
jQuery('input[name="payment_method"]').on('change', function () {
|
||||
showCreditCardPayment($(this).val());
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
{{--
|
||||
<script type="text/javascript" src="https://secure.pay1.de/client-api/js/v1/payone_hosted_min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
$('#cc_cardtype')
|
||||
$('#cc_cardholder_first')
|
||||
$('#cc_cardholder_last')
|
||||
$('#cc_cardpan')
|
||||
var data = {
|
||||
request : 'creditcardcheck',
|
||||
responsetype : 'REDIRECT', // JSON or REDIRECT available
|
||||
mode : 'live',
|
||||
mid : '10000',
|
||||
aid : '10001',
|
||||
portalid : '2000000',
|
||||
encoding : 'UTF-8',
|
||||
storecarddata : 'yes',
|
||||
hash : '19062005567ca72601cc9d031f9a94b1',
|
||||
cardholder : document.Testform.cardholder.value,
|
||||
cardpan : document.Testform.cardpan.value,
|
||||
cardtype : document.Testform.cardtype.value,
|
||||
cardexpiremonth : document.Testform.cardexpiremonth.value,
|
||||
cardexpireyear : document.Testform.cardexpireyear.value,
|
||||
cardcvc2 : document.Testform.cardcvc2.value,
|
||||
language : 'en'
|
||||
};
|
||||
var options = {
|
||||
return_type : 'object',
|
||||
callbackFunctionName: 'processPayoneResponse'
|
||||
};
|
||||
function processPayoneResponse(response) {
|
||||
if (response.get('status') == 'VALID') {
|
||||
document.Testform.cardpan.value=’’;
|
||||
document.Testform.cardcvc2.value=’’;
|
||||
document.Testform.pseudocardpan.value=response.get('pseudocardpan')
|
||||
document.Testform.submit();
|
||||
}
|
||||
else {
|
||||
alert(response.get('customermessage'));
|
||||
}
|
||||
}
|
||||
var request = new PayoneRequest(data, options);
|
||||
request.checkAndStore();
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/* JSON response example
|
||||
{
|
||||
"status" : "ERROR",
|
||||
"errorcode" : "1078",
|
||||
"errormessage" : "Parameter {cardpan} incorrect or missing",
|
||||
"customermessage" : "Invalid cardpan. Please check the information on the card.",
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
</script>
|
||||
--}}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -7,16 +7,19 @@
|
|||
Du möchtest Vertriebspartner werden oder hast Fragen zu unseren Produkten?
|
||||
</p>
|
||||
@if(Util::isCheckout())
|
||||
|
||||
<h3>
|
||||
Jetzt Kontakt aufnehmen: <a href="{{ Util::getUserShopBackUrl('/kontakt') }}" rel="nofollow" class="btn btn-primary btn-lg">zum Kontakt</a>
|
||||
</h3>
|
||||
|
||||
@if(isset($order_reference))
|
||||
<h3>
|
||||
<a href="{{ Util::getUserShopBackUrl('') }}" rel="nofollow" class="btn btn-primary btn-lg">zurück zum Shop</a>
|
||||
</h3>
|
||||
@else
|
||||
<h3>
|
||||
Jetzt Kontakt aufnehmen: <a href="{{ Util::getUserCardBackUrl('/kontakt') }}" rel="nofollow" class="btn btn-primary btn-lg">zum Kontakt</a>
|
||||
</h3>
|
||||
@endif
|
||||
@else
|
||||
<h3>
|
||||
Jetzt Kontakt aufnehmen: <a href="{{url('/kontakt')}}" rel="nofollow" class="btn btn-primary btn-lg">zum Kontakt</a>
|
||||
</h3>
|
||||
|
||||
@endif
|
||||
</div><!-- /left text -->
|
||||
</div>
|
||||
|
|
@ -61,9 +64,16 @@
|
|||
<div class="col-md-4">
|
||||
<!-- Links -->
|
||||
<h4 class="letter-spacing-1"> </h4>
|
||||
<a href="{{ Util::getUserShopBackUrl('/card/show') }}">
|
||||
<i class="fa fa-chevron-left"></i> zurück zum Warenkorb
|
||||
</a>
|
||||
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl('') }}">
|
||||
<i class="fa fa-chevron-left"></i> zurück zum Shop
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
<i class="fa fa-chevron-left"></i> zurück zum Warenkorb
|
||||
</a>
|
||||
@endif
|
||||
<!-- /Links -->
|
||||
</div>
|
||||
@else
|
||||
|
|
@ -96,9 +106,9 @@
|
|||
<div class="container">
|
||||
@if(Util::isCheckout())
|
||||
<ul class="pull-right nomargin list-inline mobile-block">
|
||||
<li><a href="{{ Util::getUserShopBackUrl('/datenschutz') }}">Datenschutzerklärung</a></li>
|
||||
<li><a href="{{ Util::getUserCardBackUrl('/datenschutz') }}">Datenschutzerklärung</a></li>
|
||||
<li>•</li>
|
||||
<li><a href="{{ Util::getUserShopBackUrl('/impressum') }}">Impressum</a></li>
|
||||
<li><a href="{{ Util::getUserCardBackUrl('/impressum') }}">Impressum</a></li>
|
||||
</ul>
|
||||
|
||||
@else
|
||||
|
|
|
|||
|
|
@ -59,18 +59,31 @@
|
|||
</button>
|
||||
|
||||
@if(Util::isCheckout())
|
||||
<a class="logo pull-left" href="{{ Util::getUserShopBackUrl('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
|
||||
@if(isset($order_reference))
|
||||
<a class="logo pull-left" href="{{ Util::getUserShopBackUrl('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
@else
|
||||
<a class="logo pull-left" href="{{ Util::getUserCardBackUrl('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
@endif
|
||||
<div class="navbar-collapse pull-right nav-main-collapse collapse">
|
||||
<nav class="nav-main">
|
||||
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
|
||||
<li class="">
|
||||
<a href="{{ Util::getUserShopBackUrl('/card/show') }}">
|
||||
<i class="fa fa-chevron-left"></i> zurück zum Warenkorb
|
||||
</a>
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl('') }}">
|
||||
<i class="fa fa-chevron-left"></i> zurück zum Shop
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
<i class="fa fa-chevron-left"></i> zurück zum Warenkorb
|
||||
</a>
|
||||
@endif
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue