Closed mad99 closed 5 years ago
Hi Martin, what about your YF version?
You are speaking about discount percentage, but the error is relative to tax ... something I don't understand
Hey davide-alighi, thank you for the question.
Version YetiForce 5.2.0
Yes, I also don't understand:
Without Discount, there is no error, the PDF will create fine.
I dont no why there is the information about «tax» instead of «discount». But I did only change the «discount».
Maybe the calculation from the tax has some limits and is depending on filed discount...
Hope information will help to solve the problem/bug. Regards Martin
Hey mariuszkrzaczkowski
Have wrote a dirty trial_and_error file: backup'd «Validator.php» and changed on the server code direct. There is no Error-Throwing left.
Thank you, will leave the «hot-fix» in the Validator.php file.
Regards Martin
Hey mariuszkrzaczkowski many thanks
Hi, I'm searching for a solution to create a «part payment invoice»:
One approach could be to set a «Discount of 66%» to get 34% of the full amount for the first invoice of three in total.
If I fill 66 (%) in the field «Discount» YetiForce calculate all right and also changed the amounts.
But when I click «save» there is an error:
Illegal value has been entered for this field type. Field name: tax, Module: FInvoice, Value: 50.388
So I guess there is an error/bug in the system, when the discount is bigger than 50.388 I guess.
Hope will help others.
Maybe someone has a hint, how it is possible to create «üart payment invoices» with YetiForce. https://github.com/YetiForceCompany/YetiForceCRM/issues/11467
Regards Martin