fraudlabspro_info.twig
5.66 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<table class="table table-bordered">
<tr>
<td style="text-align:center; background-color:#ab1b1c; border:1px solid #ab1b1c;" colspan="2"><img src="https://www.fraudlabspro.com/images/logo_200.png" alt="FraudLabs Pro" /></td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_transaction_id }}">{{ text_transaction_id }}</span></td>
<td><a href="https://www.fraudlabspro.com/merchant/transaction-details/{{ flp_id }}/" target="_blank">{{ flp_id }}</a></td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_score }}">{{ text_score }}</span></td>
<td><img class="img-responsive" alt="" src="//fraudlabspro.hexa-soft.com/images/fraudscore/fraudlabsproscore{{ flp_score }}.png" /></td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_status }}">{{ text_status }}</span></td>
<td id="flp_status"><span style="font-weight:bold; color: {% if flp_status|lower == 'approve' %} #5cb85c {% elseif flp_status|lower == 'review' %} #f0ad4e {% else %} #d9534f {% endif %};">{{ flp_status }}</span></td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_address }}">{{ text_ip_address }}</span></td>
<td>{{ flp_ip_address }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_net_speed }}">{{ text_ip_net_speed }}</span></td>
<td>{{ flp_ip_net_speed }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_isp_name }}">{{ text_ip_isp_name }}</span></td>
<td>{{ flp_ip_isp_name }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_usage_type }}">{{ text_ip_usage_type }}</span></td>
<td>{{ flp_ip_usage_type }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_domain }}">{{ text_ip_domain }}</span></td>
<td>{{ flp_ip_domain }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_time_zone }}">{{ text_ip_time_zone }}</span></td>
<td>{{ flp_ip_time_zone }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_location }}">{{ text_ip_location }}</span></td>
<td>{{ flp_ip_location }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_distance }}">{{ text_ip_distance }}</span></td>
<td>{{ flp_ip_distance }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_latitude }}">{{ text_ip_latitude }}</span></td>
<td>{{ flp_ip_latitude }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ip_longitude }}">{{ text_ip_longitude }}</span></td>
<td>{{ flp_ip_longitude }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_risk_country }}">{{ text_risk_country }}</span></td>
<td>{{ flp_risk_country }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_free_email }}">{{ text_free_email }}</span></td>
<td>{{ flp_free_email }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_ship_forward }}">{{ text_ship_forward }}</span></td>
<td>{{ flp_ship_forward }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_using_proxy }}">{{ text_using_proxy }}</span></td>
<td>{{ flp_using_proxy }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_bin_found }}">{{ text_bin_found }}</span></td>
<td>{{ flp_bin_found }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_email_blacklist }}">{{ text_email_blacklist }}</span></td>
<td>{{ flp_email_blacklist }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_credit_card_blacklist }}">{{ text_credit_card_blacklist }}</span></td>
<td>{{ flp_credit_card_blacklist }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_credits }}">{{ text_credits }}</span></td>
<td>{{ flp_credits }} {{ text_flp_upgrade }}</td>
</tr>
<tr>
<td><span data-toggle="tooltip" data-container="#tab-general" title="{{ help_message }}">{{ text_message }}</span></td>
<td>{{ flp_message }}</td>
</tr>
{% if flp_status == 'review' %}
<tr style="background-color: #eee;">
<td id="flp_action" colspan="2">
<form id="review-action" method="post">
<div align="center">
<button type="button" id="button-flp-approve" class="btn btn-primary"><i class="fa fa-check"></i> Approve</button>
<button type="button" id="button-flp-reject" class="btn btn-danger"><i class="fa fa-remove"></i> Reject</button>
</div>
<input type="hidden" id="flp_id" name="flp_id" value="{{ flp_id }}" />
<input type="hidden" id="new_status" name="new_status" value="" />
</form>
<script>
$(document).ready(function(){
$("#button-flp-approve").click(function(){
$("#new_status").val("APPROVE");
$("#review-action").submit();
});
});
$(document).ready(function(){
$("#button-flp-reject").click(function(){
$("#new_status").val("REJECT");
$("#review-action").submit();
});
});
</script>
</td>
</tr>
{% endif %}
</table>
<div>
{{ text_flp_merchant_area }}
</div>