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
129
130
131
<div class="row">
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">View Document</h3>
<div class="box-tools pull-right">
<button class="btn btn-info btn-sm" title="" data-toggle="tooltip" data-widget="collapse" data-original-title="Collapse">
<i class="fa fa-minus"></i>
</button>
</div>
</div>
<div class="box-body">
<dl>
<dt>
Customer: <span style="font-weight: normal !important"><?php echo $data->user_id; ?></span>
</dt>
<br/>
<dt>
Document Type: <span style="font-weight: normal !important"><?php echo get_doc_name($data->id); ?></span>
</dt>
<br/>
<dt>
Name in the Document: <span style="font-weight: normal !important"><?php echo $data->full_name; ?></span>
</dt>
<br/>
<dt>
Date Of Birth: <span style="font-weight: normal !important"><?php echo $data->date_of_birth; ?></span>
</dt>
<br/>
<dt>
Number: <span style="font-weight: normal !important"><?php echo $data->number; ?></span>
</dt>
<br/>
</dl>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- ./col -->
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">View Document </h3>
<div class="box-tools pull-right">
<button class="btn btn-info btn-sm" title="" data-toggle="tooltip" data-widget="collapse" data-original-title="Collapse">
<i class="fa fa-minus"></i>
</button>
</div>
</div>
<div class="box-body">
<dl>
<dt>Document</dt>
</br>
<ul class="thumbnails gallery">
<li class="thumbnail" data-id="<?php echo $data->image; ?>">
<a style="background:url(<?php echo $data->image; ?>) no-repeat; background-size:200px; width:190px; height:190px;"
href="<?php echo $data->image; ?>"></a>
</li>
</ul>
<!-- <?php if($data->image != NULL){ ?>
<ul class="thumbnails gallery">
<li class="thumbnail" data-id="<?php echo $data->image; ?>">
<a style="background:url(<?php echo $data->image; ?>) no-repeat; background-size:400px; width:400px; height:300px;"
href="<?php echo $data->image; ?>"></a>
</li>
</ul>
<?php }
else{
?>
<img src="<?php echo base_url();?>assets/images/user_avatar.jpg" width="100px" height="100px" alt="Picture Not Found" />
<?php } ?> -->
<!-- <?php ($data->status); ?> -->
<?php
if($data->status==4){?>
<table><tr><td class="center">
<a class="btn btn-success btn-sm view-approved" style="background:" href="javascript:void(0);" data-id="<?php echo $data->id; ?>" id="approve_click">
<i class="glyphicon glyphicon-zoom-in icon-white"></i>
Approved
</a>
<!--
<button class="btn btn-info btn-sm" title="" data-toggle="tooltip" data-widget="collapse" data-original-title="Collapse">
<i class="fa fa-minus"></i>
</button> -->
<a class="btn btn-success btn-sm view-rejected" style="background:#f44336" href="javascript:void(0);" data-id="<?php echo $data->id; ?>" id="reject_click">
<i class="glyphicon glyphicon-zoom-in icon-white"></i>
Rejected
</a></td></tr></table>
<?php } else {
echo $data->status==1?"<strong>Document Approved</strong>":"<strong>Document Rejected</strong>";
} ?>
</dl>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- ./col -->
</div>