mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
Bugfix zeiterfassung
This commit is contained in:
parent
d2862cb130
commit
3dc55afd69
@ -34526,10 +34526,11 @@ function Firmendaten($field,$projekt="")
|
||||
|
||||
if(!$preis)
|
||||
{
|
||||
$stundensatz = (float)$this->app->DB->Select("SELECT stundensatz
|
||||
/* $stundensatz = (float)$this->app->DB->Select("SELECT stundensatz
|
||||
FROM `zeiterfassung_kosten`
|
||||
WHERE adresse = '$adr_id' AND (gueltig_ab <= curdate() OR gueltig_ab = '0000-00-00')
|
||||
ORDER BY gueltig_ab DESC LIMIT 1");
|
||||
ORDER BY gueltig_ab DESC LIMIT 1");*/
|
||||
|
||||
if($stundensatz)$this->app->DB->Update("UPDATE zeiterfassung SET stundensatz = '$stundensatz' WHERE id = '$ret' LIMIT 1");
|
||||
}
|
||||
return $ret;
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user