index.html
2.07 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
70
71
72
73
74
75
76
77
78
79
80
81
{% extends "template.html" %}
{% block content %}
<table class="table table-striped">
<tr>
<th class="hidden-xs"> NO. </th>
<th class="hidden-xs"> TRX ID </th>
<th class="hidden-xs"> TIME START </th>
<th class="hidden-xs"> NOM </th>
<th class="hidden-xs"> DESTINATION </th>
<th class="hidden-xs"> SUPPLIER </th>
<th class="hidden-xs"> INFO </th>
<th class="visible-xs"> PENDING TRX </th>
</tr>
{% set i = 0 %}
{% for transaction in transactions %}
<tr>
{% set i = i + 1 %}
<td class="text-right hidden-xs"> {{ i }}. </td>
<td class="hidden-xs"> {{ transaction.MESSAGEID }} </td>
<td class="hidden-xs">
{{ transaction.TIME_START | string | replace("GMT+0700 (WIB)", "") }}
</td>
<td class="hidden-xs"> {{ transaction.NOM }} </td>
<td class="hidden-xs"> {{ transaction.NO_HP }} </td>
<td class="hidden-xs"> {{ transaction.CHIP_INFO }} </td>
<td class="hidden-xs">
{% if transaction.MASALAH %}
{{ transaction.MASALAH }}
{% else %}
-
{% endif %}
</td>
<td class="visible-xs">
<dl>
<dt> Time </dt>
<dd>
{{ transaction.TIME_START | string | replace("GMT+0700 (WIB)", "") }}
</dd>
<dt> Nom </dt>
<dd>
{{ transaction.NOM }}
</dd>
<dt> Destination </dt>
<dd>
{{ transaction.NO_HP }}
</dd>
<dt> Supplier </dt>
<dd>
{{ transaction.CHIP_INFO }}
</dd>
<dt> Info </dt>
<dd>
{% if transaction.MASALAH %}
{{ transaction.MASALAH }}
{% else %}
-
{% endif %}
</dd>
<dl>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}