-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclient_accounts_verifyach.pdt
61 lines (57 loc) · 2.47 KB
/
client_accounts_verifyach.pdt
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
<div class="col-md-3">
<?php echo ($navigation ?? null); ?>
</div>
<div class="col-md-9">
<div class="row">
<div class="col-md-12">
<?php
echo (isset($message) ? $message : null);
$this->WidgetClient->clear();
$this->WidgetClient->create($this->_('ClientAccounts.verifyach.boxtitle_verifyach', true));
$this->WidgetClient->startBody();
$this->Form->create(null, ['class' => 'disable-on-submit']);
// Set partials
if (!empty($verification_form)) {
echo $verification_form;
} else {
?>
<div class="form-group">
<?php
$this->Form->label($this->_('ClientAccounts.verifyach.field_firstdeposit', true), 'first_deposit');
?>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text pr-2">0.</span>
</div>
<?php
$this->Form->fieldText('first_deposit', $vars->first_deposit ?? '', ['id' => 'first_deposit', 'class' => 'form-control', 'maxlength' => 2, 'placeholder' => $this->_('ClientAccounts.verifyach.field_firstdeposit', true)]);
?>
</div>
</div>
<div class="form-group">
<?php
$this->Form->label($this->_('ClientAccounts.verifyach.field_seconddeposit', true), 'second_deposit');
?>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text pr-2">0.</span>
</div>
<?php
$this->Form->fieldText('second_deposit', $vars->second_deposit ?? '', ['id' => 'second_deposit', 'class' => 'form-control', 'maxlength' => 2, 'placeholder' => $this->_('ClientAccounts.verifyach.field_seconddeposit', true)]);
?>
</div>
</div>
<?php
}
?>
<button type="submit" class="btn btn-light float-right">
<i class="fas fa-check"></i> <?php $this->_('ClientAccounts.verifyach.field_accountsubmit');?>
</button>
<?php
$this->Form->end();
$this->WidgetClient->endBody();
$this->WidgetClient->end();
?>
</div>
</div>
</div>