| Server IP : 92.204.40.98 / Your IP : 216.73.216.201 Web Server : LiteSpeed System : Linux amster.dnsfors.com 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : tmksyste ( 2190) PHP Version : 8.3.31 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/tmksyste/domains/tmksystems.in/public_html/crmapp/ |
Upload File : |
<?php
include('connection.php');
$name=$_POST['customer_id'];
$work_details=$_POST['work_details'];
$phone=$_POST['phone'];
$Invoice_number=$_POST['Invoice_number'];
$Invoice_date=$_POST['Invoice_date'];
$tamount=$_POST['tamount']+$_POST['new_amount'];
$pending_amount=$_POST['pending_amount']+$_POST['new_amount'];
$person_name=$_POST['person_name'];
$designation=$_POST['designation'];
$new_amount=$_POST['new_amount'];
$sql1="select * from payment_followup where name='$name'";
$result=mysql_query($sql1)or die(mysql_error());
$row=mysql_fetch_array($result);
$balance=$row['balance']+$_POST['new_amount'];
$date=date("Y-m-d");
if(isset($_REQUEST['submit']))
{
$sql="update payment_followup set Work_details='$work_details',Phone_number='$phone',Invoice_number='$Invoice_number',Invoice_date='$Invoice_date',Amount='$tamount',pending_amount='$pending_amount',followup_person_name='$person_name',designation='$designation',balance='$balance',payment_closed='continues' where name='$name'";
mysqli_query($con,$sql);
//echo $sql;
header('location:payment_customer.php?log=insert');
echo '<META HTTP-EQUIV="Refresh" Content="0; URL=payment_customer.php?log=insert">';
}
?>