WHen creating from follow-up , keep a link to the event in the operation

This commit is contained in:
sparkyx 2022-12-01 19:06:08 +01:00
parent 5d732ba844
commit a501c10054
5 changed files with 138 additions and 132 deletions

View file

@ -241,10 +241,12 @@ try
}
else if (isset($_GET['create_feenote']))
{
$array=$Ledger->convert_from_follow($http->get('ag_id',"number"));
$action_id=$http->get('ag_id',"number");
$array=$Ledger->convert_from_follow($action_id);
echo HtmlInput::hidden("ledger_type", "VEN");
echo HtmlInput::hidden("ac",$http->get('ac'));
echo HtmlInput::hidden("sa", "p");
echo HtmlInput::hidden("action_gestion",$action_id);
echo $Ledger->input($array);
echo '<div class="content">';
echo $Ledger->input_paid($payment,$acompte,$date_payment,$comm_payment);