You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Favor atualizar o Util::getFatorVencimento() para:
public static function fatorVencimento($date, $format = 'Y-m-d')
{
$date = ($date instanceof Carbon) ? $date : Carbon::createFromFormat($format, $date)->setTime(0, 0, 0);
return (new Carbon('2023-01-01'))->diffInDays($date);
}
The text was updated successfully, but these errors were encountered:
wprime2018
changed the title
Atualizar a data do fator de vencimento para 01/01/2023
Atualizar a data do fator de vencimento para 01/01/2023 - resolvido.
Feb 22, 2025
A nova data base para o reiniciar o fator de vencimento para 1000 conforme instruções deve ser de
Exemplo: Nova Data-Base em 01/01/2023
Se escolhermos 01/01/2023 como a nova data de referência, então o cálculo do fator de vencimento será:
A data-base original (07/10/1997) gera o fator 9999 em 21/02/2025.
Se começarmos uma nova contagem a partir de 01/01/2023, o fator será 1000 nesse dia.
A partir disso, basta contar os dias:
02/01/2023 → fator 1001
03/01/2023 → fator 1002
01/01/2024 → fator 1365
21/02/2025 → fator 1999
Favor atualizar o Util::getFatorVencimento() para:
The text was updated successfully, but these errors were encountered: