Example #1
0
                <tr>
                    <th>No</th>
                    <th>Tanggal</th>
                    <th>No Invoice</th>
                    <th>Kabupaten/Kota/Kecamatan</th>
                    <th>Status</th>
                    <th>Jumlah (Rp)</th>
                    <th>Aksi</th>
                </tr>
            </thead>
            <tbody>
                <?php 
$o = 1;
foreach ($data->result_array() as $r) {
    $jml = $r['total'] + $r['harga_kirim'];
    $strJml = numIndoNull($jml, 0);
    ?>
                <tr>
                    <td><?php 
    echo $o++;
    ?>
</td>
                    <td><?php 
    echo dateToIndo($r['tanggal']);
    ?>
</td>
                    <td><?php 
    echo $r['no_invoice'];
    ?>
</td>
                    <td><?php 
Example #2
0
    echo $r['kode_barang'];
    ?>
</td>
		<td><?php 
    echo numIndoNull($r['harga'], 0);
    ?>
</td>
		<td><?php 
    echo $r['qty'];
    ?>
</td>
		<td><?php 
    echo numIndoNull($subTotal, 0);
    ?>
</td>
	</tr>
	<?php 
}
?>
	<tr>
		<td colspan="4" align="right"><b>Grand Total</b></td>
		<td align="center"><b><?php 
echo $qtyTotal;
?>
</b></td>
		<td align="rigth"><b>Rp<?php 
echo numIndoNull($total, 0);
?>
</b></td>
	</tr>
</table>
Example #3
0
		<th><center>Stock</center></th>
	</tr>
	<?php 
foreach ($data as $r) {
    ?>
	<tr>
		<td><?php 
    echo $r['kode_barang'];
    ?>
</td>
		<td><?php 
    echo $r['nama'];
    ?>
</td>
		<td align="right">Rp<?php 
    echo numIndoNull($r['harga_beli'], 0);
    ?>
</td>
		<td align="right">Rp<?php 
    echo numIndoNull($r['harga_jual'], 0);
    ?>
</td>
		<td align="center"><?php 
    echo $r['qty'];
    ?>
</td>
	</tr>
	<?php 
}
?>
</table>
Example #4
0
				<br />
				<?php 
    echo $r['alamat'];
    ?>
, <?php 
    echo $r['kode_pos'];
    ?>
			</td>
			<td align="right"><?php 
    echo numIndoNull($r['total'], 0);
    ?>
</td>
			<td align="center"><b><?php 
    echo $r['kurir_nama'];
    ?>
</b><br /><?php 
    echo numIndoNull($r['harga_kirim'], 0);
    ?>
</td>
			<td align="right"><?php 
    echo numIndoNull($r['total'] + $r['harga_kirim'], 0);
    ?>
</td>
		</tr>
	<?php 
}
?>
	</tbody>
</table>
</body>
</html>
Example #5
0
}
?>
        <tr>
            <td><b>Total</b></td>
            <td style="text-align:right;font-weight:bold">Rp<?php 
echo numIndoNull($pj->total, 0);
?>
</td>
        </tr>
        <tr>
            <td><b>Bayar</b></td>
            <td style="text-align:right;font-weight:bold">Rp<?php 
echo numIndoNull($pj->bayar, 0);
?>
</td>
        </tr>
        <tr>
            <td><b>Kembali</b></td>
            <td style="text-align:right;font-weight:bold">Rp<?php 
echo numIndoNull($pj->kembali, 0);
?>
</td>
        </tr>
    </table>
    <br />
    <label>
        <center>Terimakasih . . .</center>
        &nbsp;&nbsp;&nbsp;Barang yang sudah di beli tidak dapat dikembalikan lagi
    </label>
</body>
</html>
Example #6
0
	      		<h3 class="box-title" style="color:white"><b><?php 
echo numIndoNull($data['total_pendapatan']['total'], 0);
?>
</b></h3>
	      	</div>
	        <div class="box-body">
	        	<!-- <a href="<?php 
echo site_url('rekap/total_pendapatan');
?>
" target="_blank" class="btn btn-default btn-xs">More info <i class="fa fa-arrow-circle-right"></i></a> -->
	        	<label class="control-label" style="color:white">Total Pendapatan</label>
	        </div>
	      </div>
	      <div class="box box-primary bg-blue">
	      	<div class="box-header">
	      		<h3 class="box-title" style="color:white"><b><?php 
echo numIndoNull($data['total_pendapatan_bulan_ini']['total'], 0);
?>
</b></h3>
	      	</div>
	        <div class="box-body">
	        	<!-- <a href="<?php 
echo site_url('rekap/bulan_ini');
?>
" target="_blank" class="btn btn-default btn-xs">More info <i class="fa fa-arrow-circle-right"></i></a> -->
	        	<label class="control-label" style="color:white">Pendapatan Bulan Ini</label>
	        </div>
	      </div>
		</div>
	</div>
</section>
Example #7
0
		<th>Cetak</th>
	</tr>
	<?php 
foreach ($data->result_array() as $r) {
    ?>
	<tr>
		<td><?php 
    echo $r['no_trx'];
    ?>
</td>
		<td><?php 
    echo dateToIndo($r['tanggal']);
    ?>
</td>
		<td><?php 
    echo numIndoNull($r['total'], 0);
    ?>
</td>
		<td>
			<a target="_blank" href="<?php 
    echo $urlCetak . '/' . $r['id'];
    ?>
" class="btn btn-info btn-sm">
				<i class="fa fa-print"></i>
				Cetak
			</a>
		</td>
	</tr>
	<?php 
}
?>