| $row[od_id] |
$href$row[od_name] |
".number_format($row1['orderamount'])." |
".number_format($row1['ordercancel'] + $row['od_dc_amount'])." |
".number_format($row['od_receipt_bank'])." |
".number_format($row['od_receipt_card'])." |
".number_format($row['od_receipt_point'])." |
".number_format($row['receiptcancel'])." |
".number_format($misu)." |
\n";
$tot['orderamount'] += $row1['orderamount'];
$tot['ordercancel'] += $row1['ordercancel'];
$tot['dc'] += $row['od_dc_amount'];
$tot['receipt_bank'] += $row['od_receipt_bank'];
$tot['receipt_card'] += $row['od_receipt_card'];
$tot['receipt_point'] += $row['od_receipt_point'];
$tot['receiptamount'] += $row['receiptamount'];
$tot['receiptcancel'] += $row['receiptcancel'];
$tot['misu'] += $misu;
}
if ($i == 0) {
echo "
| 합 계 |
=number_format($tot['orderamount'])?> |
=number_format($tot['ordercancel']+ $tot['dc'])?> |
=number_format($tot['receipt_bank'])?> |
=number_format($tot['receipt_card'])?> |
=number_format($tot['receipt_point'])?> |
=number_format($tot['receiptcancel'])?> |
=number_format($tot['misu'])?> |