示例#1
0
文件: _pdf.php 项目: AbuMuhammad/ap3
             <td><b><?php echo $modelHeader->nomor; ?></b></td>
         </tr>
         <tr>
             <td>Tanggal</td>
             <td><b><?php echo toIndoDate($modelHeader->tanggal); ?></b></td>
         </tr>
         <?php
         if (isset($modelHeader->referensi) && !empty($modelHeader->referensi)):
             ?>
             <tr>
                 <td>Ref</td>
                 <td><b><?php echo $modelHeader->referensi; ?></b></td>
             </tr>
             <tr>
                 <td>Tgl Ref</td>
                 <td><b><?php echo toIndoDate($modelHeader->tanggal_referensi); ?></b></td>
             </tr>
             <?php
         endif;
         ?>
         <tr>
             <td colspan="2" id="header-total">
                 Total<br />
                 <span id="total">IDR. <?php echo $modelHeader->total; ?></span>
             </td>
         </tr>
     </table>
 </div>
 <div class="clear">
     <br />
     <table id="tdetail">
示例#2
0
    </span><br />
    <?php echo $customer->telp; ?>
 </div>
 <div id="faktur-info">
    <table>
       <tr>
          <td>No. Invoice</td>
          <td><b><?php echo $modelHeader->nomor; ?></b></td>
       </tr>
       <tr>
          <td>Tanggal</td>
          <td><b><?php echo toIndoDate($modelHeader->tanggal); ?></b></td>
       </tr>
       <tr>
          <td>Jatuh Tempo</td>
          <td><b><?php echo toIndoDate(date('Y-m-d', strtotime("+{$branchConfig['penjualan.jatuh_tempo']} days", strtotime(date_format(date_create_from_format('d-m-Y H:i:s', $modelHeader->tanggal), 'Y-m-d'))))); ?></b></td>
       </tr>            
       <tr>
          <td colspan="2" id="header-total">
             Total<br />
             <span id="total">IDR. <?php echo $modelHeader->total; ?></span>
          </td>
       </tr>
    </table>
 </div>
 <div class="clear">
    <br />
    <table id="tdetail">
       <thead>
          <tr>
             <th style="width:5%">
示例#3
0
                 <td style="text-align:left">Hutang Piutang | <?php
 echo $config['toko.nama'];
 ?> | <?php echo $waktuCetak; ?>
                 </td>
                 <td style="text-align:center">
                 </td>
                 <td style="text-align:right">{PAGENO}{nb}
                 </td>
             </tr>
          </table>
     </htmlpagefooter>
     <sethtmlpagefooter name="footer" value="on" />
   mpdf-->
 <div id="header1">
     <div>Hutang Piutang <?php echo $config['toko.nama']; ?></div>
     <div id="tanggal"><?php echo namaHari($waktu) . ', ' . toIndoDate($waktu); ?></div>
 </div>
 <br />
 <br />
 Profil: <em><?= $profil->nama; ?></em>
 <?php
 if (!empty($report['rekapHutang'])) {
     ?>
     <br />
     <b>Hutang:</b> Total <b><?= number_format($report['rekapHutang']['jumlah'], 0, ',', '.'); ?></b> Bayar <b><?= number_format($report['rekapHutang']['jumlah_bayar'], 0, ',', '.'); ?></b> Sisa <b><?= number_format($report['rekapHutang']['jumlah'] - $report['rekapHutang']['jumlah_bayar'], 0, ',', '.'); ?></b>
     <?php
 }
 ?>
 <?php
 if (!empty($report['dataHutang'])) {
     ?>
示例#4
0
                 <td style="text-align:left">Laporan Harian: <?php
 echo $report['namaToko'] . ' ' . $report['tanggal'];
 ?>
                 </td>
                 <td style="text-align:center">
                 </td>
                 <td style="text-align:right">{PAGENO}{nb}
                 </td>
             </tr>
          </table>
     </htmlpagefooter>
     <sethtmlpagefooter name="footer" value="on" />
   mpdf-->
 <div id="header1">
     <div>Laporan Harian<br /><?php echo $report['namaToko']; ?></div>
     <div id="tanggal"><?php echo namaHari($report['tanggal']) . ', ' . toIndoDate($report['tanggal']); ?></div>
 </div>
 <br />
 <br />
 <table width="90%" style="margin:0 auto" class="table-bordered">
     <tr>
         <td class="tebal">SALDO AWAL</td>
         <td class="kanan tebal"><?php echo number_format($report['saldoAwal'], 0, ',', '.'); ?></td>
     </tr>
     <?php
     if ($report['totalPembelianBayar']) {
         ?>
         <tr>
             <td class="tebal trx-header">PEMBAYARAN PEMBELIAN (-)</td>
             <td class="kanan tebal trx-header"><?php echo number_format($report['totalPembelianBayar'], 0, ',', '.'); ?></td>
         </tr>