Fix bug refresh in "commit event"

This commit is contained in:
sparkyx 2025-12-05 09:08:53 +01:00
parent abde26d488
commit 5462ce1d99
3 changed files with 4 additions and 10 deletions

View file

@ -48,8 +48,7 @@ $nb_supplier_late=count($supplier_late);
$nb_customer_now=count($customer_now);
$nb_customer_late=count($customer_late);
?>
<?php echo HtmlInput::title_box(_("Résumé"),"situation_div",'none','','n','','',$refresh)?>
?>
<div id="content">
<div id="so_event_main_id">
<div class="sect1">
@ -154,10 +153,4 @@ $nb_customer_late=count($customer_late);
</div>
</div>
<ul class="aligned-block">
<li>
<?=\HtmlInput::button_action(_("Rafraîchir"),sprintf("event_display_main('%s')",Dossier::id()),uniqid(),"smallbutton")?>
</li>
</ul>
</div>

View file

@ -37,6 +37,7 @@ class Coming_Event extends Widget
{
global $cn;
$this->open_div();
$this->title(_("Résumé"));
\Status_Operation_Event::main_display($cn);
$this->close_div();
}

View file

@ -31,7 +31,7 @@ use Dossier;
*/
class Last_Event extends Widget
{
/**
/**
* @brief display 10 last action
* @return void
* @throws \Exception