noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
ajax_payment_status.php File Reference

set the operation paid of unpaid More...

Go to the source code of this file.

Variables

catch(Exception $exc) $a_module =explode("/",$ac)
 
global $g_user
 
if($g_user->check_module($a_module[count($a_module) -1])==0) $jr_id =str_replace("rd_paid", "", $operation_id)
 
if(isNumber($jr_id)==0) $ledger_id =$cn->get_value("select jr_def_id from jrn where jr_id=$1",[$jr_id])
 
 $operation_id =$http->post("operation_id")
 
 $state =$http->post("state")
 
if( $g_user->get_ledger_access($ledger_id) !="W") if($state=="true") elseif( $state=="false") else
 
 try
 

Detailed Description

set the operation paid of unpaid

Definition in file ajax_payment_status.php.

Variable Documentation

◆ $a_module

catch (Exception $exc) $a_module =explode("/",$ac)

◆ $g_user

global $g_user

Definition at line 29 of file ajax_payment_status.php.

◆ $jr_id

if ( $g_user->check_module( $a_module[count( $a_module) -1])==0) $jr_id =str_replace("rd_paid", "", $operation_id)

Definition at line 44 of file ajax_payment_status.php.

◆ $ledger_id

if (isNumber( $jr_id)==0) $ledger_id =$cn->get_value("select jr_def_id from jrn where jr_id=$1",[$jr_id])

◆ $operation_id

$operation_id =$http->post("operation_id")

Definition at line 32 of file ajax_payment_status.php.

Referenced by Operation_Exercice\delete().

◆ $state

$state =$http->post("state")

Definition at line 33 of file ajax_payment_status.php.

◆ else

if($g_user->get_ledger_access( $ledger_id) !="W") if( $state=="true") elseif ($state=="false") else
Initial value:
{
echo "ERROR : unknown state [$state]"

Definition at line 63 of file ajax_payment_status.php.

◆ try

try
Initial value:
{
$ac=$http->post("ac")
if(isset( $_REQUEST[ 'show'])) if(isset($_REQUEST['del'])) $ac

Definition at line 30 of file ajax_payment_status.php.