<table class="table table-condensed table-bordered">
    <tr >
        <th class="bg-info" colspan="2">Payer Information</th>
        <th class="text-center bg-info">Shipping Address</th>
    </tr>
    <tr>
        <th class="col-md-3">Payer Name</th>
        <td>{{ $array_payment_details[0]->Payer_Firstname . ' ' . $array_payment_details[0]->Payer_Lastname }}</td>
        <td rowspan="3">
            {{ $array_shipping_add[0]->recipient_name }}<br>
            {{ $array_shipping_add[0]->line1 . ' ' . $array_shipping_add[0]->line2 . ', ' }}<br>
            {{ $array_shipping_add[0]->city . ', ' . $array_shipping_add[0]->state . ' ' . $array_shipping_add[0]->postal_code }}<br>
            {{ $array_shipping_add[0]->country_code }}
        </td>
    </tr>
    <tr>
        <th class="col-md-3">Payer Email Address</th>
        <td>{{ $array_payment_details[0]->Payer_Email }}</td>
    </tr>
    <tr>
        <th class="col-md-3">Payment Method</th>
        <td>{{ $array_payment_details[0]->PaymentMethod }}</td>
    </tr>
    <tr >
        <th class="bg-info" colspan="3">Transaction Information</th>
    </tr>
    <tr>
        <th class="col-md-3">Invoice #</th>
        <td colspan="2">{{ $array_payment_details[0]->InvoiceNumber  }}</td>
    </tr>
</table>
<div style="border: 1px solid #e2e2e2; padding: 10px; margin-bottom: 10px;">
    <div class="row">
        <div class="col-md-2">
            <div class="text-center">
                <img class="previewImage" id="active_thumbnail" src="{{ config('site_config.images_url') . '/images/' . $array_thumbnail_display[0]->Image }}">
            </div>
        </div>
        <div class="col-md-10">
            <table class="table table-striped table-condensed">
                @if($array_item[0]->FormUsed=="jersey-and-shorts-form")
                    <tr>
                        <th>Name</th>
                        <th>Number</th>
                        <th>Jersey Size</th>
                        <th>Shorts Size</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>
                @elseif($array_item[0]->FormUsed=="tshirt-form")
                    <tr>
                        <th>Size</th>
                        <th>Price</th>
                        <th>Quantity</th>
                        <!-- <th></th> -->
                        
                    </tr>

                @elseif($array_item[0]->FormUsed=="quantity-form")
                    <tr>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>

                
                @elseif($array_item[0]->FormUsed=="name-number-form")
                    <tr>
                        <th>Name</th>
                        <th>Number</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>
                @elseif($array_item[0]->FormUsed=="name-number-size-form")
                    <tr>
                        <th>Name</th>
                        <th>Number</th>
                        <th>Size</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>                            
                @elseif($array_item[0]->FormUsed=="number-form")
                    <tr>
                        <th>Number</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>
                @elseif($array_item[0]->FormUsed=="name-name2-size-form")
                    <tr>
                        <th>Gamer Tag</th>
                        <th>Name</th>
                        <th>Size</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>
                @elseif($array_item[0]->FormUsed=="name-size-form")
                    <tr>
                        <th>Name</th>
                        <th>Size</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>
                @elseif($array_item[0]->FormUsed=="jersey-and-shorts-quantity-form")
                    <tr>
                        <th>Jersey Size</th>
                        <th>Shorts Size</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>
                @elseif($array_item[0]->FormUsed=="number-jersey-shorts-form")
                    <tr>
                        <th>Number</th>
                        <th>Jersey Size</th>
                        <th>Shorts Size</th>
                        <th>Price</th>
                        <th>Quantity</th>
                    </tr>
                @else

                @endif

                @if($array_item[0]->FormUsed=="jersey-and-shorts-form")
                    <tr>
                        <td> @if($array_item[0]->Name != '') {{ $array_item[0]->Name }} @else -- @endif </td>
                        <td>{{ $array_item[0]->Number }}</td>
                        <td>{{ $array_item[0]->JerseySize }}</td>
                        <td>{{ $array_item[0]->ShortsSize }}</td>
                        <td>{{ $array_item[0]->Price }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                        
                    </tr>
                @elseif($array_item[0]->FormUsed=="tshirt-form")
                    <tr>
                        <td>{{ $array_item[0]->Size }}</td>
                        <td>{{ $array_item[0]->Price }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                        <!-- <td><a href="{{ url('admin/orders/download/tshirt' . '/' . $array_item[0]->DesignCode . '/' . $array_item[0]->Id )}}" class="btn btn-xs btn-primary"><i class="fa fa-download"></i> Download Print File</a></td> -->
                        
                    </tr>
                @elseif($array_item[0]->FormUsed=="quantity-form")
                    <tr>
                        <td>{{ $array_item[0]->Price }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                        
                    </tr>
                @elseif($array_item[0]->FormUsed=="name-number-form")
                    <tr>
                        <td>{{ $array_item[0]->Name }}</td>
                        <td>{{ $array_item[0]->Number }}</td>
                        <td>{{ $array_item[0]->Price }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                        
                    </tr>
                @elseif($array_item[0]->FormUsed=="name-number-size-form")
                    <tr>
                        <td>{{ $array_item[0]->Name }}</td>
                        <td>{{ $array_item[0]->Number }}</td>
                        <td>{{ $array_item[0]->Size }}</td>
                        <td>{{ $array_item[0]->Price }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                    </tr>
                @elseif($array_item[0]->FormUsed=="number-form")
                    <tr>
                        <td>{{ $array_item[0]->Number }}</td>
                        <td>{{ $array_item[0]->Price }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                    </tr>
                    
                @elseif($array_item[0]->FormUsed=="name-name2-size-form")
                    <tr>
                        <td>{{ $array_item[0]->Name }}</td>
                        <td>{{ $array_item[0]->Name2 }}</td>
                        <td>{{ $array_item[0]->Size }}</td>
                        <td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                    </tr>
                @elseif($array_item[0]->FormUsed=="name-size-form")
                    <tr>
                        <td>{{ $array_item[0]->Name }}</td>
                        <td>{{ $array_item[0]->Size }}</td>
                        <td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                    </tr>
                @elseif($array_item[0]->FormUsed=="jersey-and-shorts-quantity-form")
                    <tr>
                        <td>{{ $array_item[0]->JerseySize}}</td>
                        <td>{{ $array_item[0]->ShortsSize}}</td>
                        <td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                    </tr>
                @elseif($array_item[0]->FormUsed=="number-jersey-shorts-form")
                    <tr>
                        <td>{{ $array_item[0]->Number }}</td>
                        <td>{{ $array_item[0]->JerseySize }}</td>
                        <td>{{ $array_item[0]->ShortsSize }}</td>
                        <td>{{ $array_item[0]->Price . ' ' . $store_array[0]->StoreCurrency }}</td>
                        <td>{{ $array_item[0]->Quantity }}</td>
                    </tr>
                @else

                @endif
            </table>
        </div>
    </div>
</div>