trx.index.filterform.html
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<form class="form-horizontal" action="{{ path | safe }}">
<div class="form-group">
<label for="inputDate" class="col-sm-2 control-label">Date</label>
<div class="col-sm-2">
<input name="trxdate" type="date" class="form-control" id="inputDate" value="{{ conditions.ts_date }}">
</div>
</div>
<div class="form-group">
<label for="inputDestination" class="col-sm-2 control-label">Destination</label>
<div class="col-sm-10">
<input name="destination" type="text" class="form-control" id="inputDestination" value="{{ conditions.destination }}">
</div>
</div>
<div class="form-group">
<label for="inputProduct" class="col-sm-2 control-label">Product</label>
<div class="col-sm-10">
<input name="product" type="text" class="form-control" id="inputProduct" value="{{ conditions.product }}">
</div>
</div>
<div class="form-group">
<label for="inputRemoteProduct" class="col-sm-2 control-label">Remote Product</label>
<div class="col-sm-10">
<input name="remoteProduct" type="text" class="form-control" id="inputRemoteProduct" value="{{ conditions.remoteProduct }}">
</div>
</div>
<div class="form-group">
<label for="inputSupplier" class="col-sm-2 control-label">Supplier</label>
<div class="col-sm-10">
<select class="form-control" name="supplier" id="inputSupplier">
<option value="">
-
</option>
{% for supplier in suppliers %}
<option value="{{ supplier }}"
{% if supplier == conditions.supplier %}
selected="selected"
{% endif %}
>
{{ supplier }}
</option value="{{ suppplier }}">
{% endfor %}
</select>
</div>
</div>
<div class="form-group">
<label for="inputRC" class="col-sm-2 control-label">RC</label>
<div class="col-sm-10">
<input name="rc" type="text" class="form-control" id="inputRC"
aria-describedby="helpBlockRC"
value="{{ conditions.rc }}"
placeholder="00: SUCCESS; 13: PRODUCT CLOSE; 14: INVALID DESTINATION; 40: GENERAL ERROR; 68: PENDING"
>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input type="submit" class="btn btn-primary">
</div>
</div>
</form>