Historic of CARD or ACCOUNTING in HTML DIV with link to the visible operation
This commit is contained in:
parent
ceb83c6b11
commit
977591b2e4
10 changed files with 154 additions and 47 deletions
|
|
@ -433,13 +433,51 @@ function go_next_concerned() {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
function view_history_account(p_value,dossier)
|
||||
{
|
||||
layer++;id='det'+layer;
|
||||
var popup={'id':id,'cssclass':'op_detail','html':loading(),'drag':true};
|
||||
querystring='?gDossier='+dossier+'&act=de&pcm_val='+p_value+'&div='+id;
|
||||
add_div(popup);
|
||||
var action=new Ajax.Request(
|
||||
"ajax_history.php",
|
||||
{
|
||||
method:'get',
|
||||
parameters:querystring,
|
||||
onFailure:error_box,
|
||||
onSuccess:success_box
|
||||
}
|
||||
);
|
||||
g(id).style.top=posY-40;
|
||||
g(id).style.left=posX-10;
|
||||
|
||||
}
|
||||
/*!\brief
|
||||
* \param p_value jrn.jr_id
|
||||
* \param p_jrn ledger number
|
||||
* \param p_vue easy or expert view of the operation
|
||||
* \param p_value f_id of the card
|
||||
*/
|
||||
|
||||
function view_history_card(p_value,dossier)
|
||||
{
|
||||
layer++;id='det'+layer;
|
||||
var popup={'id':id,'cssclass':'op_detail','html':loading(),'drag':true};
|
||||
querystring='?gDossier='+dossier+'&act=de&f_id='+p_value+'&div='+id;
|
||||
add_div(popup);
|
||||
var action=new Ajax.Request(
|
||||
"ajax_history.php",
|
||||
{
|
||||
method:'get',
|
||||
parameters:querystring,
|
||||
onFailure:error_box,
|
||||
onSuccess:success_box
|
||||
}
|
||||
);
|
||||
g(id).style.top=posY-40;
|
||||
g(id).style.left=posX-10;
|
||||
|
||||
}
|
||||
/*!\brief
|
||||
* \param p_value jrn.jr_id
|
||||
*/
|
||||
function modifyOperation(p_value,dossier)
|
||||
{
|
||||
layer++;id='det'+layer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue