Subversion Repositories SmartDukaan

Rev

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

<div class="container">
        <div class="row">
                <div class="col-xs-12">
                        <?php echo $this->Form->create('Retailer');
                                $searchtype = array(0 => 'Invite code inserted', 1=> 'Invite code not inserted',2=>'Not Verified');
                                echo $this->Form->input('searchReatailerBy',array('options'=> $searchtype ));
                                echo $this->Form->end(__('Submit'));
                        ?>
                        
                </div>
        </div>
        
        <?php if(isset($result) && !empty($result)):?>
                <div class="row">
                        <div class="col-xs-12 ">
                                <table cellpadding="0" cellspacing="0" class="table table-striped">
                                        <tr>
                                                <th>Store Name</th>
                                                <th>Code</th>
                                                <th>Address</th>
                                                <th>Contact1</th>
                                                <th>Tin</th>
                                                <th>Created</th>
                                        </tr>
                                        
                                        <?php foreach ($result as $rkey =>$rval):?>
                                        <tr>
                                                <td><?php echo $rval['r']['title'];?></td>
                                                <td><?php echo $rval['rl']['code'];?></td>
                                                <td><?php echo $rval['r']['address'];?></td>
                                                <td><?php echo $rval['r']['contact1'];?></td>
                                                <td><?php echo $rval['r']['tinnumber'];?></td>
                                                <td><?php echo $rval['r']['created'];?></td>
                                        </tr>
                                        <?php endforeach;?>
                                        
                                </table>
                        </div>
                </div>
        <?php //else:?>
<!--            <h3>No result found..</h3> -->
        <?php endif;?>
        
</div>