[eluser]webmarkcompt[/eluser]
Since are many lines of code, I send it in attachment .zip
Files: sales_model (model), add (view), sales (controller)
If you can take a look, I will be very grateful!
I already try using the jquery, but without sucess...
Note:
add.php : line 530
sales_model.php: line 1105
sales.php : last line