@extends('beautymail::templates.widgets')

@section('content')

	@php
		$link = route('checkOrder',['order_id'=>$form_data['order_id']]);
    $link_backend = route('checkOrderBackend',['order_id'=>$form_data['order_id']]);
	@endphp

	@include('beautymail::templates.widgets.newfeatureStart',['color'=>$webColor[0]])

  <h4 class="secondary"><strong>New Purchase From <i>{{$form_data['fname']}} {{$form_data['lname']}}</i></strong></h4>
  <table>
      <tr>
        <td>Order ID</td><td><a href="{{$link}}">{{ $form_data['order_id'] }}</a></td>
      </tr>
      <tr>
        <td>Name</td><td>{{$form_data['fname']}} {{$form_data['lname']}}</td>
      </tr>
      <tr>
        <td>Email</td><td>{{$form_data['email']}}</td>
      </tr>
      <tr>
        <td>Phone</td><td>{{$form_data['phone']}}</td>
      </tr>
      <tr>
        <td>Address</td><td>{{$form_data['address']}}</td>
      </tr>
      <tr>
        <td>Total Payment</td><td> IDR {{$form_data['total']}} ( USD {{$form_data['paypal_total']}} )</td>
      </tr>
  </table>
		<br>
		<table height="36" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" class="tablet-button" st-button="edit">
			<tbody>
			<tr>
				<td width="auto" align="center" valign="middle" height="36" style=" background-color:#{{ $btnColor[0] }}; border-top-left-radius:4px; border-bottom-left-radius:4px;border-top-right-radius:4px; border-bottom-right-radius:4px; background-clip: padding-box;font-size:13px; text-align:center;  color:#{{ $btnColor[1] }}; font-weight: 300;">
  	       <span style="color: #{{ $btnColor[1] }}; font-weight: 300;">
  	          <a style="color: #{{ $btnColor[1] }}; text-align:center;text-decoration: none;display:block;padding-left:25px; padding-right:25px;background-clip: padding-box;height:36px;line-height: 36px" href="{{ $link }}">Check Order</a>
  	       </span>
				</td>
        <td width="5%"></td>
        <td width="auto" align="center" valign="middle" height="36" style=" background-color:#{{ $btnColor[0] }}; border-top-left-radius:4px; border-bottom-left-radius:4px;border-top-right-radius:4px; border-bottom-right-radius:4px; background-clip: padding-box;font-size:13px; text-align:center;  color:#{{ $btnColor[1] }}; font-weight: 300;">
  	       <span style="color: #{{ $btnColor[1] }}; font-weight: 300;">
  	          <a style="color: #{{ $btnColor[1] }}; text-align:center;text-decoration: none;display:block;padding-left:25px; padding-right:25px;background-clip: padding-box;height:36px;line-height: 36px" href="{{ $link_backend }}">Backend</a>
  	       </span>
				</td>
			</tr>
			</tbody>
		</table>

	@include('beautymail::templates.widgets.newfeatureEnd')

@stop
