to write directly into the ledgers,the stock and the tables quant_purchase and quant_sold are not changed by this More...
Go to the source code of this file.
Variables | |
$cn = new Database(dossier::id()) | |
$def = -1 | |
show a form for quick_writing | |
$first_ledger = $ledger->get_first('ODS') | |
global | $g_user |
$id_ledger = (isset($_REQUEST['p_jrn'])) ? $_REQUEST['p_jrn'] : $id_predef | |
$id_predef = (isset($_REQUEST['p_jrn_predef'])) ? $_REQUEST['p_jrn_predef'] : -1 | |
$ledger = new Acc_Ledger($cn, $id_ledger) | |
if(empty($first_ledger)) $ledger | id = ($ledger->id == -1) ? $first_ledger['jrn_def_id'] : $id_ledger |
$ledger | with_concerned = true |
to write directly into the ledgers,the stock and the tables quant_purchase and quant_sold are not changed by this
Definition in file compta_ods.inc.php.
$cn = new Database(dossier::id()) |
Definition at line 40 of file compta_ods.inc.php.
$def = -1 |
show a form for quick_writing
Definition at line 53 of file compta_ods.inc.php.
Referenced by Acc_Ledger_Purchase\input(), Acc_Ledger_Sold\input(), Acc_Ledger\input(), and MenuAdmin().
$first_ledger = $ledger->get_first('ODS') |
Definition at line 45 of file compta_ods.inc.php.
global $g_user |
Definition at line 30 of file compta_ods.inc.php.
$id_ledger = (isset($_REQUEST['p_jrn'])) ? $_REQUEST['p_jrn'] : $id_predef |
Definition at line 43 of file compta_ods.inc.php.
$id_predef = (isset($_REQUEST['p_jrn_predef'])) ? $_REQUEST['p_jrn_predef'] : -1 |
Definition at line 42 of file compta_ods.inc.php.
$ledger = new Acc_Ledger($cn, $id_ledger) |
Definition at line 44 of file compta_ods.inc.php.
if (empty($first_ledger)) $ledger id = ($ledger->id == -1) ? $first_ledger['jrn_def_id'] : $id_ledger |
Definition at line 50 of file compta_ods.inc.php.
$ledger with_concerned = true |
Definition at line 54 of file compta_ods.inc.php.
Referenced by Acc_Ledger\confirm(), and Acc_Ledger\save().