echo $row_res['address'];
?>
</td>
  </tr>
  <tr>
    <td valign="top">Telepon</td>
    <td valign="top">:</td>
    <td valign="top"><?php 
echo $row_res['phone'];
?>
</td>
    <td valign="top">&nbsp;</td>
    <td valign="top">Tanggal</td>
    <td valign="top">:</td>
    <td valign="top"><?php 
echo format_date_only($row_res['date']);
?>
</td>
  </tr>
  <tr>
    <td valign="top">Tamu</td>
    <td valign="top">:</td>
    <td valign="top"><?php 
echo $row_res['amount'];
?>
</td>
    <td valign="top">&nbsp;</td>
    <td valign="top">Jam</td>
    <td valign="top">:</td>
    <td valign="top"><?php 
echo get_hour($row_res['date']);
     include '../views/transaction_new/list.php';
     get_footer($query_find);
     break;
 case 'list_edit':
     get_header($title);
     if (isset($_GET['table_id'])) {
         $table_id = $_GET['table_id'];
     }
     $query_item = select_item_edit($table_id);
     $query_item2 = select_item_edit($table_id);
     $query_item3 = select_item_edit($table_id);
     $query_item = select_item_edit($table_id);
     $query_item2 = select_item_edit($table_id);
     $query_item3 = select_item_edit($table_id);
     $row_edit = read_id($table_id);
     $date = format_date_only($row_edit['transaction_date']);
     $member_id = $row_edit['member_id'];
     $action = "transaction_new.php?page=edit";
     include '../views/transaction_new/list_edit.php';
     get_footer();
     break;
 case 'add_menu':
     $member_id = get_isset($_GET['member_id']);
     $menu_id = get_isset($_GET['menu_id']);
     $table_id = get_isset($_GET['table_id']);
     $get_menu_price = get_menu_price($menu_id);
     $check_menu = check_menu($table_id, $menu_id);
     if ($check_menu == 0) {
         $get_discount = get_discount($member_id, $menu_id);
         //echo $get_discount;
         $tnt_discount = $get_discount / 100 * $get_menu_price['menu_price'];