Method: Lst1215#UPEVP
- Defined in:
- lib/lohnsteuer/lst1215.rb
#UPEVP ⇒ Object
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 |
# File 'lib/lohnsteuer/lst1215.rb', line 388 def UPEVP if @KRV > 1 @VSP1 = 0 else if @ZRE4VP > @BBGRV @ZRE4VP = @BBGRV end @VSP1 = @TBSVORV * @ZRE4VP @VSP1 = @VSP1 * @RVSATZAN end @VSP2 = 0.12 * @ZRE4VP if @STKL == 3 @VHB = 3000.0 else @VHB = 1900.0 end if @VSP2 > @VHB @VSP2 = @VHB end @VSPN = (@VSP1 + @VSP2).ceil.to_f self.MVSP if @VSPN > @VSP @VSP = @VSPN end end |