Subversion Repositories SmartDukaan

Rev

Rev 19746 | Rev 19780 | 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>							
23
							<th style="text-align:center">Mobile No.</th>
24
							<td><?php echo $result['contact1'];?></td>
25
						</tr>
26
						<tr>
27
							<th style="text-align:center">Tin</th>
19746 naman 28
							<td><?php echo $result['tinnumber'];?></td>
19745 naman 29
						</tr>
30
						<tr>
31
							<th style="text-align:center">Address</th>
32
							<td><?php echo $result['address'];?></td>
33
						</tr>
34
						<tr>
35
							<th style="text-align:center">City</th>
36
							<td><?php echo $result['city'];?></td>
37
						</tr>
38
						<tr>
39
							<th style="text-align:center">State</th>
40
							<td><?php echo $result['state'];?></td>
41
						</tr>
42
					</table>
43
 
44
				</div>
45
 
46
			</div>
47
		</div>
48
 
49
		<?php if(!empty($tinresult)):?>
50
		<div class="col-lg-6">
51
			<div class = "row">
52
				<div class="col-lg-12 table-responsive">
53
 
54
					<h2><?php echo __('Tin Detail'); ?></h2>
55
 
56
					<table cellpadding="0" cellspacing="0" border="1" class="table table-striped" >
57
						<tr>							
58
							<th style="text-align:center">Counter Name</th>
59
							<td><?php echo $tinresult['counter_name'];?></td>
60
						</tr>
61
						<tr>
62
							<th style="text-align:center">Counter Address</th>
63
							<td><?php echo $tinresult['counter_address'];?></td>
64
						</tr>
65
						<tr>
66
							<th style="text-align:center">State	</th>
67
							<td><?php echo $tinresult['state'];?></td>
68
						</tr>
69
						<tr>
70
							<th style="text-align:center">PAN</th>
71
							<td><?php echo $tinresult['pan'];?></td>
72
						</tr>
73
						<tr>
74
							<th style="text-align:center">Date of Registration</th>
75
							<td><?php echo $tinresult['registered_on'];?></td>
76
						</tr>
77
					</table>
78
 
79
				</div>
80
 
81
			</div>
82
		</div>
83
		<?php endif;?>
84
 
85
	</div>
19770 naman 86
 
87
	<form action="/admin/retailers/retailerverify" method="post" id="RetailerAdminRetailerverifyForm">
88
	 Your Input: <textarea id="RetailerText" name="data[Retailer][text]" cols="25" rows="5">
89
		</textarea>
90
		<input type="hidden" value=<?php echo $result['id'];?> name="data[Retailer][retId]"] id = "RetailerRetId">
91
		<input type="hidden" value=<?php echo $result['contact1'];?> name="data[Retailer][contact]"] id = "RetailerContact">
92
		<br><br>
93
		<input type = "submit" id="pending" name="type" value="Pending" class="btn btn-primary needtext">
94
		<input type = "submit" id="verify" name="type" value="Verify" class="btn btn-success">
95
		<input type = "submit" id="cancel" name="type" value="Cancel" class="btn btn-danger needtext">
96
	</form>
19745 naman 97
</div>
98
 
99