Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="container">
        <div class="row">
                <div class="col-lg-12 table-responsive">
                <h2>Address Report</h2>
                        <table class="table table-striped">
                                <tr>
                                        <th>Type</th>
                                        <th>Store Name</th>
                                        <th>Address</th>
                                        <th>City</th>
                                        <th>State</th>
                                        <th>Pincode</th>
                                </tr>
                        <tr>
                                <th width="15%">New Retailer Address</th>
                                <th><?php if( isset($newaddress[0]['r']['title'])){
                                                echo($newaddress[0]['r']['title']);}
                                                else{echo('');}?>
                                </th>
                                <th><?php if( isset($newaddress[0]['r']['address'])){
                                                echo($newaddress[0]['r']['address']);}
                                                else{echo('');}?>
                                </th>
                                <th><?php if( isset($newaddress[0]['r']['city'])){
                                                echo($newaddress[0]['r']['city']);}
                                                else{echo('');}?>
                                </th>
                                <th><?php if( isset($newaddress[0]['r']['state'])){
                                                echo($newaddress[0]['r']['state']);}
                                                else{echo('');}?>
                                </th>
                                <th><?php if( isset($newaddress[0]['r']['pin'])){
                                                echo($newaddress[0]['r']['pin']);}
                                                else{echo('');}?>
                                </th>   
                        </tr>
                        <tr>
                                <th width="15%">Address</th>

                                <th>
                                <?php if( isset($retaileraddress[0]['r']['title'])){
                                                echo($retaileraddress[0]['r']['title']);}
                                                else{echo('');}?>
                                </th>
                                <th>
                                <?php if( isset($retaileraddress[0]['r']['address'])){
                                                echo($retaileraddress[0]['r']['address']);}
                                                else{echo('');}?>
                                </th>
                                <th>
                                <?php if( isset($retaileraddress[0]['r']['city'])){
                                                echo($retaileraddress[0]['r']['city']);}
                                                else{echo('');}?>
                                </th>
                                <th>
                                <?php if( isset($retaileraddress[0]['r']['state'])){
                                                echo($retaileraddress[0]['r']['state']);}
                                                else{echo('');}?>
                                </th>
                                <th>
                                <?php if( isset($retaileraddress[0]['r']['pin'])){
                                                echo($retaileraddress[0]['r']['pin']);}
                                                else{echo('');}?>
                                </th>   
                        </tr>
                        <tr>
                                <th width="15%">User Address (Updated)</th>
                                <th>
                                <?php if( isset($userupdateaddress[0]['ua']['store_name'])){
                                                echo($userupdateaddress[0]['ua']['store_name']);}
                                                else{echo('');}?>
                                </th>
                                <th>
                                <?php if( isset($userupdateaddress[0]['ua']['address'])){
                                                echo($userupdateaddress[0]['ua']['address']);}
                                                else{echo('');}?>
                                </th>
                                <th>
                                <?php if( isset($userupdateaddress[0]['ua']['city'])){
                                                echo($userupdateaddress[0]['ua']['city']);}
                                                else{echo('');}?>
                                </th>
                                <th>
                                <?php if( isset($userupdateaddress[0]['ua']['state'])){
                                                echo($userupdateaddress[0]['ua']['state']);}
                                                else{echo('');}?>
                                </th>   
                                <th>
                                <?php if( isset($userupdateaddress[0]['ua']['pincode'])){
                                                echo($userupdateaddress[0]['ua']['pincode']);}
                                                else{echo('');}?>
                                </th>
                        </tr>
                        <tr>
                                <th width="15%">My Profile Address</th>
                                <th><?php echo('')?></th>       
                                <th><?php echo($useraddress[0][0]['address'])?></th>    
                                <th><?php echo($useraddress[0]['users']['city'])?></th> 
                                <th><?php echo($useraddress[0]['users']['state'])?></th>        
                                <th><?php echo($useraddress[0]['users']['pincode'])?></th>      
                        </tr>
                        </table>
                </div>
        </div>
</div>