mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 08:52:21 +00:00
Added update of status icon directly after bestellen/erteilen/akzeptieren
Now the status icon and row formats are refreshed directly after the bestell-/erteil-/akzeptieren-button was clicked. Returning and updating vertrag_betrag in tabulator rows is needed to detect when geaenderte have been updated and enable correct formatting.
This commit is contained in:
@@ -143,6 +143,7 @@ class Lehrauftrag extends Auth_Controller
|
||||
$json []= array(
|
||||
'row_index' => $lehrauftrag['row_index'],
|
||||
'bestellt' => date('Y-m-d'),
|
||||
'vertrag_betrag' => $betrag,
|
||||
'erteilt' => null
|
||||
);
|
||||
}
|
||||
@@ -165,7 +166,8 @@ class Lehrauftrag extends Auth_Controller
|
||||
{
|
||||
$json []= array(
|
||||
'row_index' => $lehrauftrag['row_index'],
|
||||
'bestellt' => date('Y-m-d')
|
||||
'bestellt' => date('Y-m-d'),
|
||||
'vertrag_betrag' => $betrag
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user