<tr>
	<td align="center">1</td>
	<td>TUNAI/sales</td>
	<td align="center"><?php echo $data->total_cash;?></td>
	<td align="right"><?php echo az_thousand_separator($data->amount_cash);?></td>
	<td align="center"><?php if($data->amount_cash > 0) { echo round($data->amount_cash / $data->amount_transaction * 100);} else { echo '0';}?>%</td>
</tr>
<tr>
	<td align="center">2</td>
	<td>PANJAR/sales</td>
	<td align="center"><?php echo $data->total_panjar;?></td>
	<td align="right"><?php echo az_thousand_separator($data->amount_panjar);?></td>
	<td align="center"><?php if($data->amount_panjar > 0) { echo round($data->amount_panjar / $data->amount_transaction * 100); } else { echo '0';}?>%</td>
</tr>
<tr>
	<td align="center">3</td>
	<td>BELUM BAYAR/sales</td>
	<td align="center"><?php echo $data->total_not_paid;?></td>
	<td align="right"><?php echo az_thousand_separator($data->amount_not_paid);?></td>
	<td align="center"><?php if($data->amount_not_paid > 0) { echo round($data->amount_not_paid / $data->amount_transaction * 100); } else { echo '0';}?>%</td>
</tr>
<tr>
	<td align="center">4</td>
	<td>TOTAL DPT MASUK/sales</td>
	<td align="center"><?php echo $data->total_dpt;?></td>
	<td align="right"><?php echo az_thousand_separator($total);?></td>
	<td align="center"><?php if($total > 0) { echo round($total / $data->amount_transaction * 100);} else { echo '0';}?>%</td>
</tr>
<tr>
	<td align="center">5</td>
	<td>PIUTANG/sales</td>
	<td align="center"><?php echo $data->total_piutang;?></td>
	<td align="right"><?php echo az_thousand_separator($data->amount_piutang);?></td>
	<td align="center"><?php if($data->amount_piutang > 0) { echo round($data->amount_piutang / $data->amount_transaction * 100); } else { echo '0';}?>%</td>
</tr>
<tr>
	<td align="center">6</td>
	<td>DISKON/sales</td>
	<td align="center"><?php echo $data->total_discount;?></td>
	<td align="right"><?php echo az_thousand_separator($data->amount_discount);?></td>
	<td align="center"><?php if($data->amount_discount > 0) { echo round($data->amount_discount / $data->amount_transaction * 100); } else { echo '0';}?>%</td>
</tr>
<tr>
	<td align="center">7</td>
	<td>PENJUALAN (TOTAL SALES)</td>
	<td align="center"><?php echo $data->total_transaction;?></td>
	<td align="right"><?php echo az_thousand_separator($data->amount_transaction);?></td>
	<td align="center">100%</td>
</tr>