<div class="container"> <b>Tracetec Debt Recovery - Reports</b> <p><br>Below is a list of debt recovery runs for the selected month period:</p> <p><?php echo $date_picker->render(true); ?> </p> <p> </p> <?php $debt_recovery = Model_Debt_Recovery::find_all_by_month_and_year($date_picker->getMonth(), $date_picker->getYear()); if (count($debt_recovery) > 0) { ?> <table width="95%" border="1"> <thead> <tr> <th>Month</th> <th>Debit Date</th> <th>Data File</th> <th>Debtors</th> <th>Templates</th> <th>Actions</th> </tr> </thead> <tbody> <?php
<?php } else { ?> <p><br>The are no debtors for for the month ending <?php echo $date_picker->get_date(); ?> .</p> <p> <br> <a href="admin-debt-recovery-messagesadmin-debt-recovery-import-debtors.php?debt_recovery_id=<?php echo $debt_recovery->id; ?> &year=<?php echo $date_picker->getYear(); ?> &month=<?php echo $date_picker->getMonth(); ?> ">Click here</a> to import your list of debtors from a CSV file.</p> <?php } ?> <p><br><br><a href="admin-debt-recovery-dashboard.php?debt_recovery_id=<?php echo $debt_recovery->id; ?> &month=<?php echo $date_picker->getMonth(); ?> &year=<?php echo $date_picker->getYear(); ?>