<table border="1px;" cellpadding="1px;" width="100%" style='display:none'>
        <tr  style="background-color: #E2574C!important; color:white!important;"><td colspan="5" style="text-align: center!important; text-height:bold">Catatan</td>
    </tr>
    <tr style="background-color: #E2574C!important; color:white!important;">
        <td align="center"><b>Tanggal</b></td>
        <td align="center"><b>Customer</b></td>
        <td align="center"><b>Divisi</b></td>
        <td align="center"><b>Aktifitas</b></td>
        <td align="center"><b>Catatan</b></td>
    </tr>
    <?php 
    $catatan=array();
    foreach($bow as $bowz){ 
       // print_mz($bowz);
        $catatan[]=$bowz['catatan'];
        ?>
    <tr>
        <td align="center"><b><?php echo GetTanggalIndo($bowz['tanggal'])?></b></td>
        <td align="center"><b><?php echo GetValue('title','master_pelanggan',array('id'=>'where/'.$bowz['pelanggan']))?></b></td>
        <td align="center"><b><?php echo GetValue('title','master_pelanggan_divisi',array('id'=>'where/'.$bowz['pelanggan_divisi']))?></b></td>
        <td align="center"><b><?php echo GetValue('notes','ref_activity',array('id'=>'where/'.$bowz['jenis_aktivitas']))?></b></td>
        <td align="left"><b><?php echo $bowz['catatan']?></b></td>
    </tr><?php }
    $catatan=implode('\n',$catatan);
    ?>
    </table>
<script>
    alert('<?php echo $catatan?>');
</script>