Exemplo n.º 1
0
                                        		<th>No</th>
												<th>Nama Barang</th>
												<th>Harga</th>
				                           		<th>Keterangan</th>
												<th>Qty</th>
												<th>Last Update Qty</th>
                                        		<th>Tersedia / Tidak</th>
												<th>Action</th>
                                        </tr>
										
										<tr class="danger no-result">
										<td colspan="8"><i class="fa fa-warning"></i> Data Tidak Di temukan</td>
										</tr>
                                    </thead>
<?php 
        $total_rows = $items->countAll();
        $halaman = 0;
        $no = 0;
        $subtotal = 0;
        while ($row = $statement->fetch(PDO::FETCH_ASSOC)) {
            extract($row);
            echo "<tr>";
            $no = $no + 1;
            echo "<tr>";
            echo "<th>{$no}</th>";
            //                                    echo    "<th>{$item_kode}</th>";
            echo "<th>{$item_name}</th>";
            echo "<th>" . number_format($harga, 2, ',', '.') . "</th>";
            echo "<th>{$item_note}</th>";
            //echo    "<th>{$qty}</th>";
            echo "<th>" . number_format($qty) . "</th>";