Subversion Repositories SmartDukaan

Rev

Rev 18910 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<style>
        td:first-child { background-color: #F9FCF7; border:1px solid white;}
        td{
        padding:2px;
    border:1px solid #e6e6e6;
}
</style>
<?php if(isset($tinres['isError']) && $tinres['isError']== false):?>
        <div class='row card'>
                <div class='col-xs-12' style="padding:0px;">
                        
                                <table cellpadding="1" cellspacing="1">
                                        <tr width="100%"> 
                                              <td width="100%" colspan="2" style="border:1px solid #58d936;">
                                                <div align="center">
                                                        <strong>Retailer details by TIN : <?php echo $tin_num; ?></strong>
                                                </div>
                                              </td>
                                </tr>
                                        
                                        <?php if(isset($tinres['counter_name']) && !empty($tinres['counter_name'])):?>
                                                <tr>
                                                        <td><strong>Counter Name</strong></td><td><?php echo $tinres['counter_name'];?></td>
                                                </tr>
                                        <?php endif;?>
                                        <?php if(isset($tinres['counter_address']) && !empty($tinres['counter_address'])):?>
                                                <tr>
                                                        <td><strong>Counter Address</strong></td><td><?php echo $tinres['counter_address'];?></td>
                                                </tr>
                                        <?php endif;?>
                                        <?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
                                                <tr>
                                                        <td><strong>State</strong></td><td><?php echo $tinres['state'];?></td>
                                                </tr>
                                        <?php endif;?>
                                        <?php if(isset($tinres['pan']) && !empty($tinres['pan'])):?>
                                                <tr>
                                                        <td><strong>PAN</strong></td><td><?php echo $tinres['pan'];?></td>
                                                </tr>
                                        <?php endif;?>
                                        <?php if(isset($tinres['registered_on']) && !empty($tinres['registered_on'])):?>
                                                <tr>
                                                        <td><strong>Date of Registration</strong></td><td><?php echo $tinres['registered_on'];?></td>
                                                </tr>
                                        <?php endif;?>
                                        
                                </table>
                                <br>
                                <div class="row">
                                        
                                        <?php if(isset($tinres['state']) && !empty($tinres['state'])):?>
                                                <div style="border:1px solid #58d936; padding:2px;margin-bottom:5px;">
                                                        <?php if(trim($tinres['state']) == "Delhi"):?>  
                                                                You will get tax invoice for orders shipped to counter address mentioned above.
                                                        <?php else:?>
                                                                Tax invoice is only available in delhi. We will get back to you when tax invoice is available in <?php echo $tinres['state'];?>.
                                                        <?php endif;?>
                                                </div>
                                        <?php endif;?>
                                        
                                        <div class= "col-xs-12 text-center">
                                                <!--  <button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;float:right;">Not OK</button>-->     
                                                <a href="<?php echo $base_url;?>tins/confirm">
                                                        <button type="button" class="btn btn-sm" style="background-color:#58d936;color:white;">
                                                        <?php if(isset($tinres['state']) && !empty($tinres['state']) && trim($tinres['state']) == "Delhi"):?>   
                                                                Confirm to get tax invoice
                                                        <?php else:?>
                                                                Confirm your tax details
                                                        <?php endif;?>
                                                        </button>       
                                                </a>
                                        </div>
                                        
                                        
                                </div>
                                
                                <br>
                </div>
                
        </div>

        <div class="row card" style="padding:0px;">
                        <div class="col-xs-12" style="padding: 5px;">
                                In case your tax details are incorrect send your tin rc copy to <b>help@profitmandi.com</b> from your registered email.<br>
                        </div>
        </div>
        
        <?php else: ?>
                                <br>
                                <div class = "card" style="text-align:center;padding-bottom:5px;"><?php echo $tinres['errorMsg'];?></div>
                                <br><br>
        <?php endif; ?>