Subversion Repositories SmartDukaan

Rev

Rev 19843 | Go to most recent revision | Details | 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 ">
16
				<table>
17
					<tr>
18
						<th>Store Name</th>
19
						<th>Address</th>
20
						<th>Contact1</th>
21
						<th>Tin</th>
22
					</tr>
23
 
24
					<?php foreach ($result as $rkey =>$rval):?>
25
					<tr>
26
						<td><?php echo $rval['retailers']['title'];?></td>
27
						<td><?php echo $rval['retailers']['address'];?></td>
28
						<td><?php echo $rval['retailers']['contact1'];?></td>
29
						<td><?php echo $rval['retailers']['tinnumber'];?></td>
30
					</tr>
31
					<?php endforeach;?>
32
 
33
				</table>
34
			</div>
35
		</div>
36
	<?php else:?>
37
		<h3>No result found..</h3>
38
	<?php endif;?>
39
 
40
</div>