Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="card">
- <div class="card-header-spe">
- <p style="text-align:left;">
- Delivery Tour
- <span style="float:right;">
- <a class=" card-category btn btn-primary" href="{{ url_for('deliver', client_id=client.id )}}">Add New</a>
- </span>
- </p>
- </div>
- <table class="table table-striped table-hover">
- <thead>
- <tr>
- <th scope="col">Title</th>
- <th scope="col">Description</th>
- <th scope="col">Schedule</th>
- <th scope="col">Driver</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- {% for deliv in delivery %}
- <th scope="row">{{ deliv.title }}</th>
- <td>{{ deliv.description }}</td>
- <td >{{ deliv.schedule }} </td>
- {% if deliv.driver_assigned %}
- {% for d in driver %}
- {% if d.id == deliv.driver_assigned %}
- <td>{{d.first_name}}</td>
- {% endif %}
- {% endfor %}
- {% else %}
- <td></td>
- {% endif %}
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
Add Comment
Please, Sign In to add comment