Rev 19792 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<script>$(document).ready(function(){$('.needtext').click(function(){if($('#RetailerText').val().trim() == ''){alert("Enter some input");return false;}});});</script><div class="container"><div class = "row"><div class="col-lg-6"><div class = "row"><div class="col-lg-12 table-responsive"><h2><?php echo __('Retailer Detail'); ?></h2><a href="<?php echo $base_url;?>admin/retailers/editretailer/<?php echo $result['id'];?>" class ="btn btn-primary">Edit</a><table cellpadding="0" cellspacing="0" border="1" class="table table-striped" ><tr><th style="text-align:center">Title</th><td><?php echo $result['title'];?></td></tr><tr><th style="text-align:center">Mobile No.</th><td><?php echo $result['contact1'];?></td></tr><tr><th style="text-align:center">Tin</th><td><?php echo $result['tinnumber'];?></td></tr><tr><th style="text-align:center">Address</th><td><?php echo $result['address'];?></td></tr><tr><th style="text-align:center">City</th><td><?php echo $result['city'];?></td></tr><tr><th style="text-align:center">State</th><td><?php echo $result['state'];?></td></tr></table></div></div></div><div class="col-lg-6"><div class = "row"><div class="col-lg-12 table-responsive"><?php if(!empty($tinresult)):?><h2><?php echo __('Tin Detail'); ?></h2><table cellpadding="0" cellspacing="0" border="1" class="table table-striped" ><tr><th style="text-align:center">Counter Name</th><td><?php echo $tinresult['counter_name'];?></td></tr><tr><th style="text-align:center">Counter Address</th><td><?php echo $tinresult['counter_address'];?></td></tr><tr><th style="text-align:center">State </th><td><?php echo $tinresult['state'];?></td></tr><tr><th style="text-align:center">PAN</th><td><?php echo $tinresult['pan'];?></td></tr><tr><th style="text-align:center">Date of Registration</th><td><?php echo $tinresult['registered_on'];?></td></tr></table><?php else:?><div><br><br><br><br>* Invalid tin or no reponse from the api.</div><?php endif;?></div></div></div></div><form action="/admin/retailers/retailerverify" method="post" id="RetailerAdminRetailerverifyForm">Your Input: <textarea id="RetailerText" name="data[Retailer][text]" cols="25" rows="5"></textarea><input type="hidden" value=<?php echo $result['id'];?> name="data[Retailer][retId]"] id = "RetailerRetId"><input type="hidden" value=<?php echo $result['contact1'];?> name="data[Retailer][contact]"] id = "RetailerContact"><br><br><input type = "submit" id="pending" name="type" value="Pending" class="btn btn-primary needtext"><input type = "submit" id="verify" name="type" value="Verify" class="btn btn-success"><input type = "submit" id="cancel" name="type" value="Cancel" class="btn btn-danger needtext"></form></div>