echo money_format('%(#10n', $award); ?> </td> </tr> <tr> <td>Sum of DO's issued through end of <?php echo previous_quarter(); ?> :</td> <td><?php echo money_format('%(#10n', get_do_totals_previous($idc_id)); ?> </td> <tr> <td>Contract balance (end of <?php echo previous_quarter(); ?> )</td> <td><?php echo money_format('%(#10n', $award - get_do_totals_previous($idc_id)); ?> </td> </tr> <tr> <td>Contract balance (as of <?php echo date('Y-m-d'); ?> )</td> <td><?php if ($current < 1000) { ?>
<p>To certify that this IDC is correct, please enter your initials in the field provided and close the idc.</p> </div> <?php $query = mysql_query("SELECT * FROM tbl_dos WHERE idc_id='{$idc_id}'"); $count_dos = mysql_affected_rows(); if ($count_dos == 0) { echo '<div class="alert alert-error">This IDC does not have any activity for this quarter.</div>'; } ?> <form > <table border=0> <tr> <td>Fiscal Year</td><td><select name="wqarter" id="quarter"> <option><?php echo previous_quarter(date()); ?> </option> <option><?php echo current_quarter(date()); ?> </option> </td></tr> <tr><td>Initials</td><td><input id="close-idc" type="text" class="span3" placeholder="Enter your initials..." /></td></tr> </table> </form> </div>