<?php require_once('../auth/auth.php');?>
<?php 
	if(isset($_POST['guid'])){

       $guid        = $_POST['guid'];
       $cash_amount = $_POST['cash_amount'];
       $bank_amount = $_POST['bank_amount'];
       $rec_amount  = $_POST['rec_amount'];
       $pay_amount  = $_POST['pay_amount'];

      mysqli_query($conn,"INSERT INTO cash_zero(coid,uid,cash_amount,bank_amount,rec_amount,pay_amount,date,userid) 
	        VALUES ('$coid','$guid','$cash_amount','$bank_amount', '$rec_amount', '$pay_amount', '$datetime', '$uid')") or die(mysqli_error($conn));

	}
?>