aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/products/index_outgoing.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
commit63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch)
tree555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/products/index_outgoing.html
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'servo/templates/products/index_outgoing.html')
-rwxr-xr-xservo/templates/products/index_outgoing.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/servo/templates/products/index_outgoing.html b/servo/templates/products/index_outgoing.html
new file mode 100755
index 0000000..5b1d007
--- /dev/null
+++ b/servo/templates/products/index_outgoing.html
@@ -0,0 +1,56 @@
+{% extends "products/index.html" %}
+{% load i18n %}
+
+{% block toolbar %}
+
+{% endblock toolbar %}
+
+{% block first_column %}
+<ul class="nav nav-list">
+ <li class="active"><a href="#tab1" data-toggle="tab">{% trans "Outgoing" %}</a></li>
+ <li><a href="#tab2" data-toggle="tab">{% trans "Shipped" %}</a></li>
+</ul>
+{% endblock first_column %}
+
+{% block second_column %}
+<div class="span9">
+ <form method="post" action="">
+ {% csrf_token %}
+ <table class="table table-hover">
+ <thead>
+ <tr>
+ <th><input type="checkbox" class="toggle_column"/></th>
+ <th>{% trans "Code" %}</th>
+ <th>{% trans "Title" %}</th>
+ <th>{% trans "Order" %}</th>
+ <th>{% trans "Return Order" %}</th>
+ <th>{% trans "Register For Return" %}</th>
+ <th>{% trans "Serial Number" %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for p in parts %}
+ <tr>
+ <td><input type="checkbox" name="items" value="{{ p.returnOrderNumber }}"/></td>
+ <td>{{ p.partNumber }}</td>
+ <td>{{ p.partDescription|truncatechars:42 }}</td>
+ <td>{{ p.purchaseOrderNumber }}</td>
+ <td><a href="{% url 'products-return_label' p.partNumber p.returnOrderNumber %}" class="window">{{ p.returnOrderNumber }}</a></td>
+ <td>{{ p.registeredForReturn }}</td>
+ <td>{{ p.kbbSerialNumber }}</td>
+ </tr>
+ {% empty %}
+ <tr>
+ <td colspan="7" class="muted empty">{% trans "No parts pending return" %}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+ <button type="submit" class="btn btn-primary pull-right" disabled="disabled">{% trans "Submit" %}</button>
+ </form>
+</div>
+{% endblock second_column %}
+
+{% block breadcrumb %}
+ <li><a href="{% url 'products-outgoing' %}">{% trans "Outgoing" %}</a></li>
+{% endblock breadcrumb %}