Add quick-code in widget "event"

This commit is contained in:
sparkyx 2025-08-20 12:08:41 +02:00
parent aace9db326
commit 03c46f8c2f
2 changed files with 8 additions and 4 deletions

View file

@ -39,13 +39,16 @@ if ($item['remind_date'] < $date) {
$style="background-color:orange;color:white;";
}
?>
<div class="row <?=$class?> border" style="<?=$style?>">
<div class="col-2">
<div class="row <?=$class?> border m-0" style="<?=$style?>">
<div class="col-2 " style="text-overflow:hidden;text-wrap:nowrap;text-overflow:ellipsis ">
<?=$item['ag_timestamp_fmt']?>
</div>
<div class="col" style="text-overflow:hidden;text-wrap:nowrap;text-overflow:ellipsis ">
<div class="col-2 " style="text-overflow:hidden;text-wrap:nowrap;text-overflow:ellipsis ">
<?=HtmlInput::card_detail($item['quick_code'])?>
</div>
<div class="col" style="text-overflow:hidden;text-wrap:wrap;text-overflow:ellipsis ">
<?=HtmlInput::detail_action($item['ag_id'],
$item['ag_ref']." ".$item['ag_title'])?>
"[{$item['ag_ref']}] {$item['ag_title']}")?>
</div>
</div>
<?php

View file

@ -40,6 +40,7 @@ class Event extends Widget
$sql="select ag_ref
,ag_hour
,coalesce(vw_name,'Interne') as vw_name
,coalesce(quick_code,'interne') as quick_code
,ag_id
,ag_title
,ag_ref