-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathhome.hbs-es
More file actions
71 lines (68 loc) · 2.48 KB
/
Copy pathhome.hbs-es
File metadata and controls
71 lines (68 loc) · 2.48 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
<main role="main" class="container">
<div class="card mb-3">
<div class="card-header">
{{translate "Recargar Saldo Usuario"}}
</div>
<div class="card-body">
<form method="post" action="/home/topup">
<div class="form-group">
<label for="recipient">IMSI</label>
<input
type="tel"
id="formnumber"
class="form-control"
placeholder="{{translate 'IMSI'}}"
name="imsi"
/>
</div>
<div class="form-group">
<label for="amount">{{translate "Cantidad a Recargar"}}</label>
<input type="text" id="formamount" class="form-control" name="amount" />
</div>
<button
type="submit"
class="btn btn-primary"
onclick="return confirm('Esta seguro de que desea recargar ' + document.getElementById('formamount').value + ' pesos a la persona usuaria ' + document.getElementById('formnumber').value + '?');"
>{{translate "Recargar"}}</button>
</form>
</div>
</div>
<div class="card mb-3">
<div class="card-header">
{{translate "Transferencia entre Usuarixs"}}
</div>
<div class="card-body">
<form method="post" action="/home/transfer">
<div class="form-group">
<label for="recipient">{{translate "IMSI que Envia"}}</label>
<input
type="tel"
id="formsend"
class="form-control"
placeholder="{{translate 'Numero Telefonico'}}"
name="source"
/>
<label for="recipient">{{translate "IMSI que Recibe"}}</label>
<input
type="tel"
id="formreceive"
class="form-control"
placeholder="{{translate 'Numero Telefonico'}}"
name="dest"
/>
</div>
<div class="form-group">
<label for="amount">{{translate "Cantidad a transferir"}}</label>
<input type="text" id="formtransferamount" class="form-control" name="amount" />
</div>
<button
type="submit"
class="btn btn-primary"
onclick="return confirm({{translate
"'Estas seguro que quieres transferir ' + document.getElementById('formtransferamount').value + ' pesos del usuario ' + document.getElementById('formsend').value + ' al usuario ' + document.getElementById('formreceive').value + '?'"
}});"
>{{translate "Transferir"}}</button>
</form>
</div>
</div>
</main>