mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-05 21:09:28 +00:00
Created infocenter details page showing Person Stammdaten, Dokumente, Prestudent ZGVs, Logs and Notizen.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user