      <table id="user-table" class="table table-striped table-hover" data-search-form="#user-search-form">
          <thead>
            <tr>
              <th>{{'班级'|trans}}</th>
              <th>{{'购买者'|trans}}</th>
              <th>{{'课程价格'|trans}}</th>
              <th>{{'购买价格'|trans}}</th>
              <th>{{'下单&付款时间'|trans}}</th>
            </tr>
          </thead>
          <tbody>
            {% if paidClassroomDetail %}
            
            {% for data in paidClassroomDetail %}

            {%  if  classroom[data.targetId].title|default(null)  %}
              <tr>
                   <td> <a href="{{ path('course_show', {id:data.targetId}) }}" target="_blank"><strong>{{ classroom[data.targetId].title|default('此课程已不存在'|trans) }}</strong><br><span class="text-muted text-sm">{{'订单号:'|trans}}{{data.sn}}</span></td>
                   <td>{{ admin_macro.user_link(users[data.userId]) }}</td>
                   <td class="text-danger">{{ data.totalPrice }}</td>
                    <td class="text-danger">{{ data.amount }}</td>
                   <td>{{data.createdTime|date("Y-m-d H:i:s")}}<br>{{data.paidTime|date("Y-m-d H:i:s")}}</td>
              </tr>
              {% else %}
              <tr class="danger">                   
                    <td> {{'此课程已不存在'|trans}}</strong><br><span class="text-muted text-sm">{{'订单号:'|trans}}{{data.sn}}</span></td>
                   <td>{{ admin_macro.user_link(users[data.userId]) }}</td>
                   <td class="text-danger">--</td>
                    <td class="text-danger">{{ data.amount }}</td>
                   <td>{{data.createdTime|date("Y-m-d H:i:s")}}<br>{{data.paidTime|date("Y-m-d H:i:s")}}</td>
              </tr>
              {% endif  %}
            {% endfor %}
            {% endif %}
          </tbody>
      </table>    
      {{ admin_macro.paginator(paginator) }}