FIX_lib 3
This commit is contained in:
parent
5dd51f0a97
commit
eeed32f5f8
@ -235,16 +235,16 @@ private static function formatGridNumericDisplay(float $v): string
|
||||
return rtrim(rtrim(number_format($v, 2, '.', ''), '0'), '.');
|
||||
}
|
||||
|
||||
// public static function applyManagerAccountsDisplayToRows(array $rows): array
|
||||
// {
|
||||
// foreach ($rows as &$row) {
|
||||
// if (array_key_exists('comp', $row)) $row['comp'] = self::gridPayoutDisplayManagerAccounts($row['comp'] ?? null);
|
||||
// if (array_key_exists('tp', $row)) $row['tp'] = self::gridPayoutDisplayManagerAccounts($row['tp'] ?? null);
|
||||
// if (array_key_exists('od', $row)) $row['od'] = self::gridPayoutDisplayManagerAccounts($row['od'] ?? null);
|
||||
// }
|
||||
// unset($row);
|
||||
// return $rows;
|
||||
// }
|
||||
public static function applyManagerAccountsDisplayToRows(array $rows): array
|
||||
{
|
||||
foreach ($rows as &$row) {
|
||||
if (array_key_exists('comp', $row)) $row['comp'] = self::gridPayoutDisplayManagerAccounts($row['comp'] ?? null);
|
||||
if (array_key_exists('tp', $row)) $row['tp'] = self::gridPayoutDisplayManagerAccounts($row['tp'] ?? null);
|
||||
if (array_key_exists('od', $row)) $row['od'] = self::gridPayoutDisplayManagerAccounts($row['od'] ?? null);
|
||||
}
|
||||
unset($row);
|
||||
return $rows;
|
||||
}
|
||||
|
||||
|
||||
private static function retentionMapFromPrrRows(array $prrRows): array
|
||||
|
||||
Loading…
Reference in New Issue
Block a user