Beispiel #1
0
$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>


<script type="text/javascript">
if($.trim(document.getElementById('idc_type').innerHTML) == "construction"){

	document.getElementById('reimbursed').disabled=true;
Beispiel #2
0
		</tr>
		<?php 
while ($row = mysql_fetch_assoc($results)) {
    ?>

			<tr>
				<td><?php 
    echo $row['idc_id_internal'];
    ?>
</td>
				<td><?php 
    echo date('Y');
    ?>
</td>
				<td><?php 
    echo current_quarter();
    ?>
</td>
				<td><?php 
    echo $row['contractor'];
    ?>
</td>
				<td><?php 
    echo $row['idc_type'];
    ?>
</td>
				<td><?php 
    echo $row['scope_of_work'];
    ?>
</td>
				<td> <a class="btn" href="details_idc.php?id=<?php