Files
FHC-Core/application/widgets/Statusgrund_widget.php
T
ma0048 b5500e2d11 - statusgrundstatus tabelle hinzugefuegt
- sql abfragen angepasst
- statusgrund widget gefixed
2025-02-03 13:00:06 +01:00

22 lines
512 B
PHP

<?php
class Statusgrund_widget extends DropdownWidget
{
public function display($widgetData)
{
// Zgv
$this->load->model('crm/statusgrund_model', 'StatusgrundModel');
$this->StatusgrundModel->addOrder('statusgrund_id');
$this->addSelectToModel($this->StatusgrundModel, 'statusgrund_id', '(bezeichnung_mehrsprachig[1])');
$this->setElementsArray(
$this->StatusgrundModel->load(),
true,
'Select a Statusgrund...',
'No Statusgrund found'
);
$this->loadDropDownView($widgetData);
}
}