templates/content/ordersdetail.html.twig line 1

Open in your IDE?
  1. {% extends 'layout.html.twig' %}
  2. {% block content %}
  3. <div class="orders-info">
  4.     {% set orders = pimcore_relation("orders").element %}
  5.     {% if orders %}
  6.     <div class="content">
  7.      <div class="order-detail">
  8.             <h2>Orders ID :  {{ orders.orders_id|raw}}</h2>
  9.             <div class="order-detail-inner">
  10.                 <div class="row">
  11.                     <div class="col-md-6">
  12.                         <div class="order-customer-detail">
  13.                             <h3>Customer Details</h3>
  14.                            <p> {{ orders.customers_name|raw}}<br>
  15.                            {{ orders.customers_street_address|raw}}<br>
  16.                             {{ orders.customers_city|raw}};
  17.                             {{ orders.customers_state|raw}};
  18.                             {{ orders.customers_country|raw}} - {{ orders.customers_postcode|raw}} <br>
  19.                             E-mail Address : {{ orders.customers_email_address|raw}}<br>
  20.                             Telephone : {{ orders.customers_telephone|raw}}<br>       
  21.                             Company : {{ orders.customers_company|raw}}<br>  
  22.                         </p>       
  23.                         </div>
  24.                     </div>
  25.                     <div class="col-md-6">
  26.                         <div class="order-detail-data">
  27.                             <h3>Order Details</h3>
  28.                             <p> Orders Status : {{ orders.orders_status|raw}}<br>
  29.                                 Date Purchased : {{ orders.date_purchased|raw}}<br>
  30.                                 Ip Requested By : {{ orders.ip_requested_by|raw}}<br>
  31.                                 Payment Method : {{ orders.payment_method|raw}}<br> 
  32.                                 Contact Number : {{ orders.ip_contact_number|raw}}<br>
  33.                             </p>
  34.                         </div>
  35.                     </div>
  36.                 </div>
  37.                 <div class="row">
  38.                     <div class="col-md-6">
  39.                         <div class="billing-add">
  40.                             <h3>Billing Address</h3>
  41.                            <p>   {{ orders.billing_name|raw}} <br>
  42.                                  {{ orders.billing_company|raw}} <br>
  43.                                  {{ orders.billing_street_address|raw}}<br>
  44.                                  {{ orders.billing_city|raw}};
  45.                                  {{ orders.billing_state|raw}};
  46.                                  {{ orders.billing_country|raw}} - {{ orders.billing_postcode|raw}}<br>
  47.                             </p>
  48.                         </div>
  49.                     </div>
  50.                     <div class="col-md-6">
  51.                         <div class="delivery-add">
  52.                             <h3>Delivery Address</h3>
  53.                            <P> {{ orders.delivery_name|raw}} <br>
  54.                                {{ orders.delivery_company|raw}} <br>
  55.                                {{ orders.delivery_street_address|raw}} <br>
  56.                                {{ orders.delivery_city|raw}};
  57.                                {{ orders.delivery_state|raw}};
  58.                                {{ orders.delivery_country|raw}} - {{ orders.delivery_postcode|raw}} <br>
  59.                               Contact Person : {{ orders.ip_contact_person|raw}} <br>
  60.                             </P>
  61.                         </div>
  62.                     </div>
  63.                 </div>
  64.             </div>
  65.         </div>
  66.         <!-- <table class="table table-striped table-bordered">
  67.             <tr>
  68.                 <td>Orders Id</td>
  69.                 <td>{{ orders.orders_id|raw}}</td>
  70.                 <td>Customers Name</td>
  71.                 <td>{{ orders.customers_name|raw}}</td>
  72.                 <td>Customers Company</td>
  73.                 <td>{{ orders.customers_company|raw}}</td>
  74.                 <td>Customer E-mail Address</td>
  75.                 <td>{{ orders.customers_email_address|raw}}</td>
  76.             </tr>
  77.             <tr>
  78.               
  79.                 <td>Doctor Pharma No</td>
  80.                 <td>{{ orders.doctor_pharma_no|raw}}</td>
  81.                 <td>Delivery Country</td>
  82.                 <td>{{ orders.delivery_country|raw}}</td>
  83.                 <td>Customer_Street Address</td>
  84.                 <td>{{ orders.customers_street_address|raw}}</td>
  85.                 <td>Dummy Account</td>
  86.                 <td>{{ orders.customers_dummy_account|raw}}</td>
  87.             </tr>
  88.             <tr>
  89.                 
  90.                 <td>Customers City</td>
  91.                 <td>{{ orders.customers_city|raw}}</td>
  92.                 <td>Customers Postcode</td>
  93.                 <td>{{ orders.customers_postcode|raw}}</td>
  94.                 <td>Customers State</td>
  95.                 <td>{{ orders.customers_state|raw}}</td>
  96.                 <td>Billing Street Address</td>
  97.                 <td>{{ orders.billing_street_address|raw}}</td>
  98.             </tr>
  99.             <tr>
  100.                 <td>Customer Country</td>
  101.                 <td>{{ orders.customers_country|raw}}</td>
  102.                 <td>Customers Telephone</td>
  103.                 <td>{{ orders.customers_telephone|raw}}</td>
  104.                 <td>Customer Add_Formate_Id</td>
  105.                 <td>{{ orders.customers_address_format_id|raw}}</td>
  106.                 <td>Orders Number</td>
  107.                 <td>{{ orders.ip_order_no|raw}}</td>
  108.             </tr>
  109.             <tr>
  110.                 <td>Delivery Name</td>
  111.                 <td>{{ orders.delivery_name|raw}}</td>
  112.                 <td>Delivery Company</td>
  113.                 <td>{{ orders.delivery_company|raw}}</td>
  114.                 <td>Delivery Street Address</td>
  115.                 <td>{{ orders.delivery_street_address|raw}}</td>
  116.                 <td>Currency</td>
  117.                 <td>{{ orders.currency|raw}}</td>
  118.             </tr>
  119.             <tr>
  120.                 <td>Delivery City</td>
  121.                 <td>{{ orders.delivery_city|raw}}</td>
  122.                 <td>Delivery Postcode</td>
  123.                 <td>{{ orders.delivery_postcode|raw}}</td>
  124.                 <td>Delivery State</td>
  125.                 <td>{{ orders.delivery_state|raw}}</td>
  126.                 <td>Contact Person</td>
  127.                 <td>{{ orders.ip_contact_person|raw}}</td>
  128.             </tr>
  129.             <tr>
  130.                 <td>Delivery Add_Formate Id</td>
  131.                 <td>{{ orders.delivery_address_format_id|raw}}</td>
  132.                 <td>Billing Name</td>
  133.                 <td>{{ orders.billing_name|raw}}</td>
  134.                 <td>Billing Company</td>
  135.                 <td>{{ orders.billing_company|raw}}</td>
  136.                 <td>Payment Method</td>
  137.                 <td>{{ orders.payment_method|raw}}</td>
  138.             </tr>
  139.             <tr>
  140.                 
  141.                 <td>Billing City</td>
  142.                 <td>{{ orders.billing_city|raw}}</td>
  143.                 <td>Billing Postcode</td>
  144.                 <td>{{ orders.billing_postcode|raw}}</td>
  145.                 <td>Billing State</td>
  146.                 <td>{{ orders.billing_state|raw}}</td>
  147.                 <td>Customers Degree</td>
  148.                 <td>{{ orders.customers_degree|raw}}</td>
  149.             </tr>
  150.             <tr>
  151.                 <td>Billing Country</td>
  152.                 <td>{{ orders.billing_country|raw}}</td>
  153.                 <td>Billing Add_Formate_Id</td>
  154.                 <td>{{ orders.billing_address_format_id|raw}}</td>
  155.                 <td>CC Owner</td>
  156.                 <td>{{ orders.cc_owner|raw}}</td>
  157.                 <td>Delivery Degree</td>
  158.                 <td>{{ orders.delivery_degree|raw}}</td>
  159.             </tr>
  160.             <tr>
  161.                 <td>Date Purchased</td>
  162.                 <td>{{ orders.date_purchased|raw}}</td>
  163.                 <td>Billing Degree</td>
  164.                 <td>{{ orders.billing_degree|raw}}</td>
  165.                 <td>Orders Status</td>
  166.                 <td>{{ orders.orders_status|raw}}</td>
  167.                 <td>Customers Title</td>
  168.                 <td>{{ orders.customers_title|raw}}</td>
  169.                
  170.             </tr>
  171.             <tr>
  172.                 <td>Currency Value</td>
  173.                 <td>{{ orders.currency_value|raw}}</td>
  174.                 <td>Dea Number</td>
  175.                 <td>{{ orders.dea_number|raw}}</td>
  176.                 <td>Ip Requested By</td>
  177.                 <td>{{ orders.ip_requested_by|raw}}</td>
  178.                 <td>Contact Number</td>
  179.                 <td>{{ orders.ip_contact_number|raw}}</td>
  180.             </tr>
  181.         </table> -->
  182.       </div>
  183.     {% endif %}
  184. </div>
  185. {% endblock %}