Example #1
0
                                    </td>							
                                    <?php 
    if ($this->config->activate_invoice_feature) {
        ?>
                                            <td class="center">
                                                <?php 
        if (OSMembershipHelper::needToCreateInvoice($row)) {
            ?>
                                                        <a href="<?php 
            echo JRoute::_('index.php?option=com_osmembership&task=download_invoice&id=' . $row->id);
            ?>
" title="<?php 
            echo JText::_('OSM_DOWNLOAD');
            ?>
"><?php 
            echo OSMembershipHelper::formatInvoiceNumber($row, $this->config);
            ?>
</a>
                                                    <?php 
        }
        ?>
										
                                            </td>							
                                        <?php 
    }
    ?>
                                    
                                </tr>
                            <?php 
}
?>