Subversion Repositories SmartDukaan

Rev

Rev 19770 | Rev 19792 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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">
18
 
19
					<h2><?php echo __('Retailer Detail'); ?></h2>
20
 
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
 
53
		<?php if(!empty($tinresult)):?>
54
		<div class="col-lg-6">
55
			<div class = "row">
56
				<div class="col-lg-12 table-responsive">
57
 
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
 
83
				</div>
84
 
85
			</div>
86
		</div>
87
		<?php endif;?>
88
 
89
	</div>
19770 naman 90
 
91
	<form action="/admin/retailers/retailerverify" method="post" id="RetailerAdminRetailerverifyForm">
92
	 Your Input: <textarea id="RetailerText" name="data[Retailer][text]" cols="25" rows="5">
93
		</textarea>
94
		<input type="hidden" value=<?php echo $result['id'];?> name="data[Retailer][retId]"] id = "RetailerRetId">
95
		<input type="hidden" value=<?php echo $result['contact1'];?> name="data[Retailer][contact]"] id = "RetailerContact">
96
		<br><br>
97
		<input type = "submit" id="pending" name="type" value="Pending" class="btn btn-primary needtext">
98
		<input type = "submit" id="verify" name="type" value="Verify" class="btn btn-success">
99
		<input type = "submit" id="cancel" name="type" value="Cancel" class="btn btn-danger needtext">
100
	</form>
19745 naman 101
</div>
102
 
103