Zeiterfassung Update
* Fix für BPA stunden Rückgängig
This commit is contained in:
@@ -76,12 +76,10 @@ class TimerecordingBillingModel
|
||||
|
||||
}
|
||||
|
||||
public static function getFirst()
|
||||
public static function getLast()
|
||||
{
|
||||
$db = FronkDB::singleton();
|
||||
|
||||
$where = self::getSqlFilter($filter);
|
||||
$res = $db->select("TimerecordingBilling", "*", "$where ");
|
||||
$res = $db->select("TimerecordingBilling", "*", "1=1 ORDER BY id DESC LIMIT 1");
|
||||
if ($db->num_rows($res)) {
|
||||
$data = $db->fetch_object($res);
|
||||
$item = new TimerecordingBilling($data);
|
||||
|
||||
Reference in New Issue
Block a user