Subversion Repositories SmartDukaan

Rev

Rev 20893 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
19842 naman 1
<div class="container">
2
	<div class="row">
3
		<div class="col-xs-12">
4
			<?php echo $this->Form->create('Retailer');
5
				$searchtype = array(0 => 'Invite code inserted', 1=> 'Invite code not inserted',2=>'Not Verified');
6
				echo $this->Form->input('searchReatailerBy',array('options'=> $searchtype ));
7
				echo $this->Form->end(__('Submit'));
8
			?>
9
 
10
		</div>
11
	</div>
12
 
13
	<?php if(isset($result) && !empty($result)):?>
14
		<div class="row">
15
			<div class="col-xs-12 ">
19844 naman 16
				<table cellpadding="0" cellspacing="0" class="table table-striped">
19842 naman 17
					<tr>
18
						<th>Store Name</th>
20893 amit.gupta 19
						<th>Code</th>
19842 naman 20
						<th>Address</th>
21
						<th>Contact1</th>
22
						<th>Tin</th>
20890 amit.gupta 23
						<th>Created</th>
19842 naman 24
					</tr>
25
 
26
					<?php foreach ($result as $rkey =>$rval):?>
27
					<tr>
19844 naman 28
						<td><?php echo $rval['r']['title'];?></td>
20895 amit.gupta 29
						<td><?php echo $rval['rl']['code'];?></td>
19844 naman 30
						<td><?php echo $rval['r']['address'];?></td>
31
						<td><?php echo $rval['r']['contact1'];?></td>
32
						<td><?php echo $rval['r']['tinnumber'];?></td>
20888 amit.gupta 33
						<td><?php echo $rval['r']['created'];?></td>
19842 naman 34
					</tr>
35
					<?php endforeach;?>
36
 
37
				</table>
38
			</div>
39
		</div>
19843 naman 40
	<?php //else:?>
41
<!-- 		<h3>No result found..</h3> -->
19842 naman 42
	<?php endif;?>
43
 
44
</div>