diff --git a/html/ajax_ledger.php b/html/ajax_ledger.php index 0662ba32a..5036a42f7 100644 --- a/html/ajax_ledger.php +++ b/html/ajax_ledger.php @@ -385,6 +385,7 @@ case 'save': { $rec->insert($rapt); } + } if ( isset($_POST['ipaid'])) { $cn->exec_sql("update jrn set jr_rapt='paid' where jr_id=$1",array($jr_id)); @@ -393,7 +394,6 @@ case 'save': { $cn->exec_sql("update jrn set jr_rapt=null where jr_id=$1",array($jr_id)); } - } //////////////////////////////////////////////////// // CA //////////////////////////////////////////////////