insert_jrnx : add debug
This commit is contained in:
parent
8d8f521572
commit
1683eff248
1 changed files with 3 additions and 0 deletions
|
|
@ -180,6 +180,9 @@ class Acc_Operation
|
|||
{
|
||||
$this->type=($this->type=='d')?'c':'d';
|
||||
}
|
||||
if ( DEBUG ) {
|
||||
echo "insert_jrn = {$this->amount} <br>";
|
||||
}
|
||||
$this->amount=abs($this->amount);
|
||||
$debit=($this->type=='c')?'false':'true';
|
||||
$this->desc=(isset($this->desc))?$this->desc:'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue