$strSQL =" UPDATE request_color a JOIN printer_color b ON a.RequestPC = b.Printer_Color_ID SET b.ColorTotalNumber = '$ColorBalance1' WHERE a.RequestID = '".$_GET["id"]."' ";
// $strSQL =" UPDATE request_color a JOIN printer_color b ON a.RequestPC = b.Printer_Color_ID SET b.ColorTotalNumber = '$ColorBalance1' WHERE a.RequestID = '".$_GET["id"]."' ";
$strSQL =" UPDATE request_color a JOIN printer_color b ON a.RequestPC = b.Printer_Color_ID SET b.ColorTotalNumber = '$ColorBalance1' WHERE a.RequestID = '".$_GET["id"]."' ";
//echo "ดำเนินการแล้ว !";
echo '<script language="javascript">';
echo 'alert("สถานะ ดำเนินการแล้ว...")';
echo '</script>';
echo '<script language="javascript">';
echo 'window.location = "index.php?page=RequestColorStatus"';
echo '</script>';
//echo " <a href='index.php?page=RequestColorStatus'>default</a>";
}
## Add Update Total Number color
// else if($_GET["status"]=='Y')
// {
// $strSQL1 = "UPDATE meeting_list SET mstatus = 'S' where id = '".$_GET["id"]."' ";
// echo "ยกเลิกการจองเรียบร้อยแล้ว !";
// }