Chore: Verschiebe Git-Repository in das Hauptverzeichnis und richte .gitignore ein
This commit is contained in:
commit
96d0545193
502 files changed
+176027
No files matched your search
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Gutachten\DB\Update;
|
||||
|
||||
use HermannTelser\Gutachten\DB\DbFunction;
|
||||
use HermannTelser\Gutachten\Eid\TxGutachten;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
|
||||
class UpdateMethodenProjektFactoren
|
||||
{
|
||||
/**
|
||||
* @param mixed $rowid
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function update()
|
||||
{
|
||||
// TxGutachten::$debug = 1;
|
||||
|
||||
$_post = GeneralUtility::_GP('data');
|
||||
$_data = json_decode($_post, true);
|
||||
|
||||
|
||||
foreach ($_data as $key => $value) {
|
||||
$factor = str_replace(',', '.', $value['factor']);
|
||||
DbFunction::secureUpdate('tx_gutachten_raume_generell', ['factor' => $factor], ['id' => $value['id']]);
|
||||
}
|
||||
echo 1;
|
||||
exit;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user