Bug fixed : when using a predefined operation and change the ledger, if we correct, we use the previous ledger
This commit is contained in:
parent
9d5fc4180b
commit
53e518f926
2 changed files with 9 additions and 9 deletions
|
|
@ -212,13 +212,14 @@ if (!isset($_REQUEST ['p_jrn']))
|
|||
}
|
||||
$Ledger->id=$def_ledger['jrn_def_id'];
|
||||
}
|
||||
else
|
||||
$Ledger->id=$http->request('p_jrn');
|
||||
|
||||
if (isset($_REQUEST['p_jrn_predef']))
|
||||
{
|
||||
$Ledger->id=$http->request('p_jrn_predef');
|
||||
else if ( isset($_REQUEST ['p_jrn']) ) {
|
||||
$Ledger->id=$http->request('p_jrn','number');
|
||||
}
|
||||
else if (isset($_REQUEST['p_jrn_predef']))
|
||||
{
|
||||
$Ledger->id=$http->request('p_jrn_predef','number');
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo '<div class="content">';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue