?>
                                            <tr>
                                            <td><?php 
    echo $no_partner;
    ?>
</td>
												<td><?php 
    echo $row_partner['partner_name'];
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($row_partner['jumlah_qty']);
    ?>
</td>
                                                 <td><?php 
    echo tool_format_number($row_partner['jumlah_margin']);
    ?>
</td>
                                               
                                             
                                                 </tr>
                                        

                                              <?php 
    $grand_total_partner = $grand_total_partner + $row_partner['jumlah_margin'];
    $no_partner++;
}
?>
                                            </tbody>
                                            <tfoot>
											<tr>
                      												<td><?php 
    echo format_date($date_awal);
    ?>
</td>
                                                                      <td>
                                                                      <?php 
    $total = get_total_penjualan_harian($date_awal);
    $total = $total ? $total : 0;
    echo tool_format_number($total);
    ?>
                                                </td>
                                                 <td>
                                                                      <?php 
    $total_pajak = get_total_pajak_harian($date_awal);
    $total_pajak = $total_pajak ? $total_pajak : 0;
    echo tool_format_number($total_pajak);
    ?>
                                                </td>
                                                
                                                 </tr>
                                        
                                              <?php 
    $date_awal = date("Y-m-d", strtotime("+1 day", strtotime($date_awal)));
    $total_harga = $total_harga + $total;
    $total_harga_pajak = $total_harga_pajak + $total_pajak;
    $no_item++;
}
?>
                                            </tbody>
                                            <tfoot>
											<tr>
Example #3
0
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($row['journal_debit']);
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($row['journal_credit']);
    ?>
</td>
                                             	<td><?php 
    echo tool_format_number($row['journal_piutang']);
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($row['journal_hutang']);
    ?>
</td>
                                              	
                                              <td style="text-align:center;">

                                                    <a href="jurnal_umum.php?page=form&id=<?php 
    echo $row['journal_id'];
    ?>
" class="btn btn-default" ><i class="fa fa-pencil"></i></a>
                                                    <a href="javascript:void(0)" onclick="confirm_delete(<?php 
    echo $row['journal_id'];
    ?>
,'jurnal_umum.php?page=delete&id=')" class="btn btn-default" ><i class="fa fa-trash-o"></i></a>

                                                </td> 
</td>
												<td><?php 
    echo $row_item['menu_name'];
    ?>
</td>
                                              	<td><?php 
    echo $row_item['partner_name'];
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($jumlah);
    ?>
</td>
                                               
                                             	<td><?php 
    echo tool_format_number($row_item['jumlah_omset']);
    ?>
</td>
                                                 </tr>
                                        

                                              <?php 
    $grand_total_dasar = $grand_total_dasar + $row_item['jumlah_dasar'];
    $grand_total_omset = $grand_total_omset + $row_item['jumlah_omset'];
    $no_item++;
}
?>
                                            </tbody>
                                            <tfoot>
											<tr>
                                            
Example #5
0
    ?>
</td>
                                               <td><?php 
    echo $row['table_name'];
    ?>
</td>
                                               <td><?php 
    echo tool_format_number($row['transaction_total']);
    ?>
</td>
                                               <td><?php 
    echo tool_format_number($row['transaction_payment']);
    ?>
</td>
                                               <td><?php 
    echo tool_format_number($row['transaction_change']);
    ?>
</td>
                                               <td style="text-align:center;">

                                                    <a href="list_transaction.php?page=form&id=<?php 
    echo $row['list_transaction_id'];
    ?>
" class="btn btn-default" ><i class="fa fa-pencil"></i></a>
                                                    <a href="javascript:void(0)" onclick="confirm_delete(<?php 
    echo $row['list_transaction_id'];
    ?>
,'list_transaction.php?page=delete&id=')" class="btn btn-default" ><i class="fa fa-trash-o"></i></a>

                                                </td> 
                                            </tr>
Example #6
0
                                               <td><?php 
    echo $row['tb_name'];
    ?>
 - <?php 
    echo $row['table_name'];
    ?>
 - <?php 
    echo $row['tt_name'];
    ?>
 - <?php 
    echo $row['nama_gedung'];
    ?>
</td>
                                             
                                                <td><?php 
    echo tool_format_number($row['table_price']);
    ?>
</td>
                                                <td>
                                                <?php 
    switch ($row['table_status']) {
        case 0:
            $status = "<div class='list_status1'>Kosong</div>";
            break;
        case 1:
            $status = "<div class='list_status2'> Terjual</div>";
            break;
    }
    echo $status;
    ?>
                                                </td>
    ?>
</td>
												<td><?php 
    echo $row_item['menu_name'];
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($row_item['menu_price']);
    ?>
</td>
                                                 <td><?php 
    echo tool_format_number($jumlah);
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($total);
    ?>
</td>
                                             
                                                 </tr>
                                        

                                              <?php 
    $grand_total = $grand_total + $total;
    $no_item++;
}
?>
                                            </tbody>
                                            <tfoot>
											<tr>
                                            
?>
                                            </tbody>
                                            <tfoot>
											<tr>
                                            
                                                 <td colspan="2" align="right"  style="font-size:22px; font-weight:bold;">TOTAL</td>
                                                <td align="right"><?php 
echo tool_format_number($total_penjualan);
?>
</td>
                                             <td align="right"><?php 
echo tool_format_number($total_pengunjung);
?>
</td>
                                             <td align="right"><?php 
echo tool_format_number($total_average);
?>
</td>
                                              </tr>
                                          </tfoot>
                                        
                                         
                                    </table>

                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>
                  

                
Example #9
0
    echo $row_angsuran['pd_number'];
    ?>
</td>
                                              <?php 
    $bulan = array('', 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember');
    ?>
                                              <td><?php 
    echo $bulan[$row_angsuran['pd_month']];
    ?>
</td>
                                              <td><?php 
    echo $row_angsuran['pd_year'];
    ?>
</td>
                                              <td><?php 
    echo tool_format_number($row_angsuran['pd_angsuran']);
    ?>
</td>
                                              <td><?php 
    echo "Lunas";
    ?>
</td>
                                            
                                            </tr>
                                            <?php 
    $no++;
}
?>

                                           
                                          
    $total_cus1 = $total_cus1 ? $total_cus1 : 0;
    echo tool_format_number($total_cus1);
    ?>
                                                </td>
                                                 <td>
                                                                      <?php 
    $total_cus2 = get_total_customer2($date_awal);
    $total_cus2 = $total_cus2 ? $total_cus2 : 0;
    echo tool_format_number($total_cus2);
    ?>
                                                </td>
                                                 <td>
                                                                      <?php 
    $total_cus_all = get_total_customer_all($date_awal);
    $total_cus_all = $total_cus_all ? $total_cus_all : 0;
    echo tool_format_number($total_cus_all);
    ?>
                                                </td>
                                                
                                                 </tr>
                                        
                                              <?php 
    $date_awal = date("Y-m-d", strtotime("+1 day", strtotime($date_awal)));
    $total_customer1 = $total_customer1 + $total_cus1;
    $total_customer2 = $total_customer2 + $total_cus2;
    $total_customer_all = $total_customer_all + $total_cus_all;
    $no_item++;
}
?>
                                            </tbody>
                                            <tfoot>
Example #11
0
    ?>
                                            <tr>
                                            <td><?php 
    echo $no;
    ?>
</td>
                                               <td><?php 
    echo $row['menu_name'];
    ?>
</td>
                                                <td><?php 
    echo $row['menu_type_name'];
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($row['menu_price']);
    ?>
</td>
                                                <?php 
    $gambar = $row['menu_img'] ? $row['menu_img'] : "default.jpg";
    ?>
                                                 <td><img src="../img/menu/<?php 
    echo $gambar;
    ?>
" height="30" /></td>
                                               <td><?php 
    echo $row['partner_name'];
    ?>
</td>
                                              <td style="text-align:center;">
    ?>
</td>
                                                <td><?php 
    echo tool_format_number($row_partner['jumlah_qty']);
    ?>
</td>
                                                 <td><?php 
    echo tool_format_number($row_partner['jumlah_margin']);
    ?>
</td>
                                               <td><?php 
    echo tool_format_number($row_partner['jumlah_original']);
    ?>
</td>
                                             <td><?php 
    echo tool_format_number($row_partner['jumlah_omset']);
    ?>
</td>
                                                 </tr>
                                        

                                              <?php 
    $grand_total_partner = $grand_total_partner + $row_partner['jumlah_margin'];
    $grand_total_original = $grand_total_original + $row_partner['jumlah_original'];
    $grand_total_omset = $grand_total_omset + $row_partner['jumlah_omset'];
    $no_partner++;
}
?>
                                            </tbody>
                                            <tfoot>
											<tr>