<link rel="stylesheet" href="css/new_mxerp.css">

<div class="body_contain">
<div class="tab_div">
<h1>Break Down Reason Reports</h1>

<table width="100%" border="1" cellpadding="3" cellspacing="0" style="border-collapse:collapse; border:#666666 solid 1px;">
<tr>
<td class="tabledata">Sr. No</td>
<td class="tabledata">Break Down Type</td>
<td class="tabledata">Break Down Reason</td>
</tr>
<?php
$sql=DB_query("Select * from break_down_master where CompanyId='".$_SESSION['ACGCompanyId']."'",$db);	
$i=1;
$num=DB_num_rows($sql);
if($num>0)
{
while($myrow=DB_fetch_array($sql))
{
?>
<tr bgcolor="#c1c1c1">
<td><?php   echo $i;?></td>
<td><?php echo $location=$s->getField('break_down_type','id',$myrow['brack_down_id'],'breakdown_reason');?></td>
<td><?php echo $myrow['brack_down_type']; ?></td>
</tr>
<?php $i++;}}
else { ?>
<tr bgcolor="#c1c1c1">
<td colspan="3">No Records Find</td>
</tr>
<?php }   ?>
	
</table>
</div></div>