{% extends 'layout.html.twig' %}
{% block content %}
<div class="orders-info">
{% set orders = pimcore_relation("orders").element %}
{% if orders %}
<div class="content">
<div class="order-detail">
<h2>Orders ID : {{ orders.orders_id|raw}}</h2>
<div class="order-detail-inner">
<div class="row">
<div class="col-md-6">
<div class="order-customer-detail">
<h3>Customer Details</h3>
<p> {{ orders.customers_name|raw}}<br>
{{ orders.customers_street_address|raw}}<br>
{{ orders.customers_city|raw}};
{{ orders.customers_state|raw}};
{{ orders.customers_country|raw}} - {{ orders.customers_postcode|raw}} <br>
E-mail Address : {{ orders.customers_email_address|raw}}<br>
Telephone : {{ orders.customers_telephone|raw}}<br>
Company : {{ orders.customers_company|raw}}<br>
</p>
</div>
</div>
<div class="col-md-6">
<div class="order-detail-data">
<h3>Order Details</h3>
<p> Orders Status : {{ orders.orders_status|raw}}<br>
Date Purchased : {{ orders.date_purchased|raw}}<br>
Ip Requested By : {{ orders.ip_requested_by|raw}}<br>
Payment Method : {{ orders.payment_method|raw}}<br>
Contact Number : {{ orders.ip_contact_number|raw}}<br>
</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="billing-add">
<h3>Billing Address</h3>
<p> {{ orders.billing_name|raw}} <br>
{{ orders.billing_company|raw}} <br>
{{ orders.billing_street_address|raw}}<br>
{{ orders.billing_city|raw}};
{{ orders.billing_state|raw}};
{{ orders.billing_country|raw}} - {{ orders.billing_postcode|raw}}<br>
</p>
</div>
</div>
<div class="col-md-6">
<div class="delivery-add">
<h3>Delivery Address</h3>
<P> {{ orders.delivery_name|raw}} <br>
{{ orders.delivery_company|raw}} <br>
{{ orders.delivery_street_address|raw}} <br>
{{ orders.delivery_city|raw}};
{{ orders.delivery_state|raw}};
{{ orders.delivery_country|raw}} - {{ orders.delivery_postcode|raw}} <br>
Contact Person : {{ orders.ip_contact_person|raw}} <br>
</P>
</div>
</div>
</div>
</div>
</div>
<!-- <table class="table table-striped table-bordered">
<tr>
<td>Orders Id</td>
<td>{{ orders.orders_id|raw}}</td>
<td>Customers Name</td>
<td>{{ orders.customers_name|raw}}</td>
<td>Customers Company</td>
<td>{{ orders.customers_company|raw}}</td>
<td>Customer E-mail Address</td>
<td>{{ orders.customers_email_address|raw}}</td>
</tr>
<tr>
<td>Doctor Pharma No</td>
<td>{{ orders.doctor_pharma_no|raw}}</td>
<td>Delivery Country</td>
<td>{{ orders.delivery_country|raw}}</td>
<td>Customer_Street Address</td>
<td>{{ orders.customers_street_address|raw}}</td>
<td>Dummy Account</td>
<td>{{ orders.customers_dummy_account|raw}}</td>
</tr>
<tr>
<td>Customers City</td>
<td>{{ orders.customers_city|raw}}</td>
<td>Customers Postcode</td>
<td>{{ orders.customers_postcode|raw}}</td>
<td>Customers State</td>
<td>{{ orders.customers_state|raw}}</td>
<td>Billing Street Address</td>
<td>{{ orders.billing_street_address|raw}}</td>
</tr>
<tr>
<td>Customer Country</td>
<td>{{ orders.customers_country|raw}}</td>
<td>Customers Telephone</td>
<td>{{ orders.customers_telephone|raw}}</td>
<td>Customer Add_Formate_Id</td>
<td>{{ orders.customers_address_format_id|raw}}</td>
<td>Orders Number</td>
<td>{{ orders.ip_order_no|raw}}</td>
</tr>
<tr>
<td>Delivery Name</td>
<td>{{ orders.delivery_name|raw}}</td>
<td>Delivery Company</td>
<td>{{ orders.delivery_company|raw}}</td>
<td>Delivery Street Address</td>
<td>{{ orders.delivery_street_address|raw}}</td>
<td>Currency</td>
<td>{{ orders.currency|raw}}</td>
</tr>
<tr>
<td>Delivery City</td>
<td>{{ orders.delivery_city|raw}}</td>
<td>Delivery Postcode</td>
<td>{{ orders.delivery_postcode|raw}}</td>
<td>Delivery State</td>
<td>{{ orders.delivery_state|raw}}</td>
<td>Contact Person</td>
<td>{{ orders.ip_contact_person|raw}}</td>
</tr>
<tr>
<td>Delivery Add_Formate Id</td>
<td>{{ orders.delivery_address_format_id|raw}}</td>
<td>Billing Name</td>
<td>{{ orders.billing_name|raw}}</td>
<td>Billing Company</td>
<td>{{ orders.billing_company|raw}}</td>
<td>Payment Method</td>
<td>{{ orders.payment_method|raw}}</td>
</tr>
<tr>
<td>Billing City</td>
<td>{{ orders.billing_city|raw}}</td>
<td>Billing Postcode</td>
<td>{{ orders.billing_postcode|raw}}</td>
<td>Billing State</td>
<td>{{ orders.billing_state|raw}}</td>
<td>Customers Degree</td>
<td>{{ orders.customers_degree|raw}}</td>
</tr>
<tr>
<td>Billing Country</td>
<td>{{ orders.billing_country|raw}}</td>
<td>Billing Add_Formate_Id</td>
<td>{{ orders.billing_address_format_id|raw}}</td>
<td>CC Owner</td>
<td>{{ orders.cc_owner|raw}}</td>
<td>Delivery Degree</td>
<td>{{ orders.delivery_degree|raw}}</td>
</tr>
<tr>
<td>Date Purchased</td>
<td>{{ orders.date_purchased|raw}}</td>
<td>Billing Degree</td>
<td>{{ orders.billing_degree|raw}}</td>
<td>Orders Status</td>
<td>{{ orders.orders_status|raw}}</td>
<td>Customers Title</td>
<td>{{ orders.customers_title|raw}}</td>
</tr>
<tr>
<td>Currency Value</td>
<td>{{ orders.currency_value|raw}}</td>
<td>Dea Number</td>
<td>{{ orders.dea_number|raw}}</td>
<td>Ip Requested By</td>
<td>{{ orders.ip_requested_by|raw}}</td>
<td>Contact Number</td>
<td>{{ orders.ip_contact_number|raw}}</td>
</tr>
</table> -->
</div>
{% endif %}
</div>
{% endblock %}