e-invoice : import creditNote and create a PDF

This commit is contained in:
sparkyx 2025-11-12 11:32:19 +01:00
parent d0ef7a3057
commit aaf9a16851
8 changed files with 147 additions and 17 deletions

View file

@ -2218,3 +2218,31 @@ Supplement_Document.save_file=function(form_dom_id)
remove_waiting_box();
return false;
}
Supplement_Document.refresh_list=function (nDossier,sDiv,nJR_id)
{
try
{
var queryString = {
gDossier:nDossier,
div:sDiv,
jr_id:nJR_id,
op:"ledger",
act:"refresh_file"
};
var action = new Ajax.Request(
"ajax_misc.php",
{
method: 'GET',
parameters: queryString,
onSuccess: function (req) {
$("supplement_div_list"+sDiv).update(req.responseText);
}
}
);
} catch (e)
{
console.error(e.message);
}
}