Auslagerung roundTipps nach Tipp, um Wiederverwendung und Caching zu ermöglichen
This commit is contained in:
parent
b9e4fcca7f
commit
054a8d6f63
8 changed files with 5871 additions and 213 deletions
|
|
@ -32,11 +32,11 @@ class Quota extends Model
|
|||
$euro_platzierung = intval ( $euro_pott * (($quotas["Platzierung"] / 100)));
|
||||
$tagessieg_rest = $euro_tagessieg_sum - ($euro_tagessieg * $quotas['Runden']);
|
||||
|
||||
Log::info("Tagessieg Rest=".$tagessieg_rest." €");
|
||||
//Log::info("Tagessieg Rest=".$tagessieg_rest." €");
|
||||
$euro_platzierung += $tagessieg_rest;
|
||||
|
||||
$euro_platz1 = Quota::get6Divisor(intval( $euro_platzierung * (( $quotas["Platz 1"] / 100))));
|
||||
Log::info("Platz 1=".$euro_platz1);
|
||||
//Log::info("Platz 1=".$euro_platz1);
|
||||
$euro_platz2 = Quota::get6Divisor(intval( $euro_platzierung * (( $quotas["Platz 2"] / 100))));
|
||||
$euro_platz3 = Quota::get6Divisor(intval( $euro_platzierung * (( $quotas["Platz 3"] / 100))));
|
||||
$euro_platz4 = Quota::get6Divisor(intval( $euro_platzierung * (( $quotas["Platz 4"] / 100))));
|
||||
|
|
@ -58,7 +58,7 @@ class Quota extends Model
|
|||
+ $euro_liga_platz1 + $euro_liga_platz2 + $euro_liga_platz3);
|
||||
|
||||
$euro_platz1 = $euro_platz1 + $finaler_rest;
|
||||
Log::info("PLatz 1 mit Rest(".$finaler_rest.") = ".$euro_platz1);
|
||||
//Log::info("PLatz 1 mit Rest(".$finaler_rest.") = ".$euro_platz1);
|
||||
|
||||
$payouts=array();
|
||||
$payouts['tagessieg'] = $euro_tagessieg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue