mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge branch 'stage1' of ssh://**REDACTED**/~/_cakephp/gradido_single_node into stage1
This commit is contained in:
commit
d87850db8c
@ -2,6 +2,7 @@
|
||||
namespace App\Model\Entity;
|
||||
|
||||
use Cake\ORM\Entity;
|
||||
use Cake\I18n\Time;
|
||||
|
||||
/**
|
||||
* StateBalance Entity
|
||||
|
||||
@ -235,7 +235,7 @@ class TransactionCreation extends TransactionBase {
|
||||
if(false === $final_balance) {
|
||||
return false;
|
||||
}
|
||||
$target_date = new DateTime($transactionCreationEntity->target_date);
|
||||
$target_date = new FrozenDate($transactionCreationEntity->target_date);
|
||||
$stateBalancesTable = self::getTable('stateBalances');
|
||||
$state_balance = $stateBalancesTable->newEntity();
|
||||
$state_balance->amount = $this->getAmount();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user