示例#1
0
                    <td width="20%">Pin BB Ayah</td>
                    <td colspan="2">: ' . $r['pinbbAyah'] . '</td>
                  </tr><tr>
                    <td width="20%">Email Ayah</td>
                    <td colspan="2">: ' . $r['emailAyah'] . '</td>
                  </tr>

                  <tr>
                    <td width="20%">Ibu</td>
                    <td colspan="2">: ' . $r['namaIbu'] . '</td>
                  </tr><tr>
                    <td width="20%">Kebangasaan Ibu</td>
                    <td colspan="2">: ' . $r['warga'] . '</td>
                  </tr><tr>
                    <td width="20%">Tempat. Tg Lahir Ibu</td>
                    <td colspan="2">: ' . $r['tmplahir'] . ', ' . tgl_indo8($r['tgllahirIbu']) . '</td>
                  </tr><tr>
                    <td width="20%">Pekerjaan Ibu</td>
                    <td colspan="2">: ' . $r['pekerjaanIbu'] . '</td>
                  </tr><tr>
                    <td width="20%">No. Telpon Ibu</td>
                    <td colspan="2">: ' . $r['telponIbu'] . '</td>
                  </tr><tr>
                    <td width="20%">Pin BB Ibu</td>
                    <td colspan="2">: ' . $r['pinbbIbu'] . '</td>
                  </tr><tr>
                    <td width="20%">Email Ibu</td>
                    <td colspan="2">: ' . $r['emailIbu'] . '</td>
                  </tr>

                  <tr>
               <td colspan="2" align="right">No. Kwitansi : ' . kwitansiPenerimaanSiswa($idpenerimaansiswa) . '</td>
             </tr>
             <tr>
               <td>Sudah terima dari </td>
               <td>: ' . $r['namasiswa'] . ' </td>
             </tr>
             <tr>
               <td>Sebanyak </td>
               <td>: ' . Terbilang($r['nominal']) . ' Rupiah </td>
             </tr>
             <tr>
               <td>Untuk  </td>
               <td>: Pembayaran ' . $r['biaya'] . ' </td>
             </tr>
             <tr>
               <td colspan="2" align="right">Surabaya, ' . tgl_indo8($r['tanggal']) . '  </td>
             </tr>
             <tr>
               <td colspan="2" align="right">ttd  </td>
             </tr>
             <tr>
               <td>Terbilang </td>
               <td>: ' . setuang($r['nominal']) . ' </td>
             </tr>
           </table>';
 $out .= '</body>';
 echo $out;
 #generate html -> PDF ------------
 $out2 = ob_get_contents();
 ob_end_clean();
 $mpdf = new mPDF('c', 'A4', '');
示例#3
0
     </td>
   </tr>
 </table><br />';
 // start of header
 $out .= '<table width="100%">
     <tr>
       <td width="20%" >Kode Transaksi </td>
       <td>: ' . $r1['nomer'] . '</td>
     </tr>
     <tr>
       <td>No. Bukti</td>
       <td>: ' . $r1['nobukti'] . '</td>
     </tr>
     <tr>
       <td>Tanggal</td>
       <td>: ' . tgl_indo8($r1['tanggal']) . '</td>
     </tr>
     <tr>
       <td>Uraian</td>
       <td>: ' . $r1['uraian'] . '</td>
     </tr>';
 if ($jenisTrans == 'pengeluaran') {
     $out .= '<tr>
       <td>Detail Anggaran</td>
       <td>: ' . getAnggaran($r1['detilanggaran']) . '</td>
     </tr>';
 }
 $out .= '</table>';
 // end of header
 // start of detail table
 $out .= '<table class="isi" width="100%">