Fixed discount calculations
Fixed error on editing
Cleaned up syncronization between fields
Fixed error on validating photo