From fef14b4077a7361bf486696edf2a91d5fa997ddb Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 2 Apr 2004 01:17:13 +0000 Subject: [PATCH] Payment --- html/modify_op.php | 3 +++ include/jrn.php | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/html/modify_op.php b/html/modify_op.php index f32601b87..0faca8ea7 100644 --- a/html/modify_op.php +++ b/html/modify_op.php @@ -70,6 +70,7 @@ if ( $action == 'update' ) { echo JS_CONCERNED_OP; $r ='
'; $r.=UpdateJrn($cn,$p_id); + $r.=''; $r.=''; $r.='
'; @@ -82,6 +83,8 @@ if ( isset($_POST['update_record']) ) { // NO UPDATE except rapt & comment UpdateComment($cn,$_POST['jr_id'],$_POST['comment']); InsertRapt($cn,$_POST['jr_id'],$_POST['rapt']); + if ( isset ($_POST['is_paid'] )) + $Res=ExecSql($cn,"update jrn set jr_rapt='paid' where jr_id=".$_POST['jr_id']); echo '