shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

recurring_info.twig (3195B)


      1 {{ header }}
      2 <div id="account-recurring" class="container">
      3   <ul class="breadcrumb">
      4     {% for breadcrumb in breadcrumbs %}
      5     <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
      6     {% endfor %}
      7   </ul>
      8   <div class="row">{{ column_left }}
      9     {% if column_left and column_right %}
     10     {% set class = 'col-sm-6' %}
     11     {% elseif column_left or column_right %}
     12     {% set class = 'col-sm-9' %}
     13     {% else %}
     14     {% set class = 'col-sm-12' %}
     15     {% endif %}
     16     <div id="content" class="{{ class }}">{{ content_top }}
     17       <h2>{{ heading_title }}</h2>
     18       <div class="table-responsive">
     19         <table class="table table-bordered table-hover">
     20           <thead>
     21             <tr>
     22               <td class="text-left" colspan="2">{{ text_recurring_detail }}</td>
     23             </tr>
     24           </thead>
     25           <tbody>
     26             <tr>
     27               <td class="text-left" style="width: 50%;"><b>{{ text_order_recurring_id }}</b> #{{ order_recurring_id }}<br />
     28                 <b>{{ text_date_added }}</b> {{ date_added }}<br />
     29                 <b>{{ text_status }}</b> {{ status }}<br />
     30                 <b>{{ text_payment_method }}</b> {{ payment_method }}</td>
     31               <td class="text-left" style="width: 50%;"><b>{{ text_order_id }}</b> <a href="{{ order }}">#{{ order_id }}</a><br />
     32                 <b>{{ text_product }}</b> <a href="{{ product }}">{{ product_name }}</a><br />
     33                 <b>{{ text_quantity }}</b> {{ product_quantity }}</td>
     34             </tr>
     35           </tbody>
     36         </table>
     37         <table class="table table-bordered table-hover">
     38           <thead>
     39             <tr>
     40               <td class="text-left">{{ text_description }}</td>
     41               <td class="text-left">{{ text_reference }}</td>
     42             </tr>
     43           </thead>
     44           <tbody>
     45             <tr>
     46               <td class="text-left" style="width: 50%;">{{ recurring_description }}</td>
     47               <td class="text-left" style="width: 50%;">{{ reference }}</td>
     48             </tr>
     49           </tbody>
     50         </table>
     51       </div>
     52       <h3>{{ text_transaction }}</h3>
     53       <div class="table-responsive">
     54         <table class="table table-bordered table-hover">
     55           <thead>
     56             <tr>
     57               <td class="text-left">{{ column_date_added }}</td>
     58               <td class="text-left">{{ column_type }}</td>
     59               <td class="text-right">{{ column_amount }}</td>
     60             </tr>
     61           </thead>
     62           <tbody>
     63           
     64           {% if transactions %}
     65           {% for transaction in transactions %}
     66           <tr>
     67             <td class="text-left">{{ transaction.date_added }}</td>
     68             <td class="text-left">{{ transaction.type }}</td>
     69             <td class="text-right">{{ transaction.amount }}</td>
     70           </tr>
     71           {% endfor %}
     72           {% else %}
     73           <tr>
     74             <td colspan="3" class="text-center">{{ text_no_results }}</td>
     75           </tr>
     76           {% endif %}
     77             </tbody>
     78           
     79         </table>
     80       </div>
     81       {{ recurring }}{{ content_bottom }}</div>
     82     {{ column_right }}</div>
     83 </div>
     84 {{ footer }}