| 19770 |
naman |
1 |
<script>
|
|
|
2 |
$(document).ready(function(){
|
|
|
3 |
$('.needtext').click(function(){
|
|
|
4 |
if($('#RetailerText').val().trim() == '')
|
|
|
5 |
{
|
|
|
6 |
alert("Enter some input");
|
|
|
7 |
return false;
|
|
|
8 |
}
|
|
|
9 |
|
|
|
10 |
});
|
|
|
11 |
});
|
|
|
12 |
</script>
|
| 19745 |
naman |
13 |
<div class="container">
|
|
|
14 |
<div class = "row">
|
|
|
15 |
<div class="col-lg-6">
|
|
|
16 |
<div class = "row">
|
|
|
17 |
<div class="col-lg-12 table-responsive">
|
| 19827 |
naman |
18 |
|
| 19745 |
naman |
19 |
<h2><?php echo __('Retailer Detail'); ?></h2>
|
| 19827 |
naman |
20 |
<a href="<?php echo $base_url;?>admin/retailers/editretailer/<?php echo $result['id'];?>" class ="btn btn-primary">Edit</a>
|
| 19745 |
naman |
21 |
<table cellpadding="0" cellspacing="0" border="1" class="table table-striped" >
|
|
|
22 |
<tr>
|
| 19780 |
naman |
23 |
<th style="text-align:center">Title</th>
|
|
|
24 |
<td><?php echo $result['title'];?></td>
|
|
|
25 |
</tr>
|
|
|
26 |
<tr>
|
| 19745 |
naman |
27 |
<th style="text-align:center">Mobile No.</th>
|
|
|
28 |
<td><?php echo $result['contact1'];?></td>
|
|
|
29 |
</tr>
|
|
|
30 |
<tr>
|
|
|
31 |
<th style="text-align:center">Tin</th>
|
| 19746 |
naman |
32 |
<td><?php echo $result['tinnumber'];?></td>
|
| 19745 |
naman |
33 |
</tr>
|
|
|
34 |
<tr>
|
|
|
35 |
<th style="text-align:center">Address</th>
|
|
|
36 |
<td><?php echo $result['address'];?></td>
|
|
|
37 |
</tr>
|
|
|
38 |
<tr>
|
|
|
39 |
<th style="text-align:center">City</th>
|
|
|
40 |
<td><?php echo $result['city'];?></td>
|
|
|
41 |
</tr>
|
|
|
42 |
<tr>
|
|
|
43 |
<th style="text-align:center">State</th>
|
|
|
44 |
<td><?php echo $result['state'];?></td>
|
|
|
45 |
</tr>
|
|
|
46 |
</table>
|
|
|
47 |
|
|
|
48 |
</div>
|
|
|
49 |
|
|
|
50 |
</div>
|
|
|
51 |
</div>
|
|
|
52 |
|
| 19792 |
naman |
53 |
|
| 19745 |
naman |
54 |
<div class="col-lg-6">
|
|
|
55 |
<div class = "row">
|
|
|
56 |
<div class="col-lg-12 table-responsive">
|
| 19792 |
naman |
57 |
<?php if(!empty($tinresult)):?>
|
|
|
58 |
<h2><?php echo __('Tin Detail'); ?></h2>
|
|
|
59 |
|
|
|
60 |
<table cellpadding="0" cellspacing="0" border="1" class="table table-striped" >
|
|
|
61 |
<tr>
|
|
|
62 |
<th style="text-align:center">Counter Name</th>
|
|
|
63 |
<td><?php echo $tinresult['counter_name'];?></td>
|
|
|
64 |
</tr>
|
|
|
65 |
<tr>
|
|
|
66 |
<th style="text-align:center">Counter Address</th>
|
|
|
67 |
<td><?php echo $tinresult['counter_address'];?></td>
|
|
|
68 |
</tr>
|
|
|
69 |
<tr>
|
|
|
70 |
<th style="text-align:center">State </th>
|
|
|
71 |
<td><?php echo $tinresult['state'];?></td>
|
|
|
72 |
</tr>
|
|
|
73 |
<tr>
|
|
|
74 |
<th style="text-align:center">PAN</th>
|
|
|
75 |
<td><?php echo $tinresult['pan'];?></td>
|
|
|
76 |
</tr>
|
|
|
77 |
<tr>
|
|
|
78 |
<th style="text-align:center">Date of Registration</th>
|
|
|
79 |
<td><?php echo $tinresult['registered_on'];?></td>
|
|
|
80 |
</tr>
|
|
|
81 |
</table>
|
|
|
82 |
<?php else:?>
|
|
|
83 |
<div><br><br><br><br>* Invalid tin or no reponse from the api.</div>
|
|
|
84 |
<?php endif;?>
|
| 19745 |
naman |
85 |
</div>
|
|
|
86 |
|
|
|
87 |
</div>
|
|
|
88 |
</div>
|
|
|
89 |
|
| 19792 |
naman |
90 |
|
| 19745 |
naman |
91 |
</div>
|
| 19770 |
naman |
92 |
|
|
|
93 |
<form action="/admin/retailers/retailerverify" method="post" id="RetailerAdminRetailerverifyForm">
|
|
|
94 |
Your Input: <textarea id="RetailerText" name="data[Retailer][text]" cols="25" rows="5">
|
|
|
95 |
</textarea>
|
|
|
96 |
<input type="hidden" value=<?php echo $result['id'];?> name="data[Retailer][retId]"] id = "RetailerRetId">
|
|
|
97 |
<input type="hidden" value=<?php echo $result['contact1'];?> name="data[Retailer][contact]"] id = "RetailerContact">
|
|
|
98 |
<br><br>
|
|
|
99 |
<input type = "submit" id="pending" name="type" value="Pending" class="btn btn-primary needtext">
|
|
|
100 |
<input type = "submit" id="verify" name="type" value="Verify" class="btn btn-success">
|
|
|
101 |
<input type = "submit" id="cancel" name="type" value="Cancel" class="btn btn-danger needtext">
|
|
|
102 |
</form>
|
| 19745 |
naman |
103 |
</div>
|
|
|
104 |
|
|
|
105 |
|