fix date of service
This commit is contained in:
		
							parent
							
								
									578b2c15d8
								
							
						
					
					
						commit
						673b671ab8
					
				@ -6,7 +6,7 @@ from .checks import *
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class CreateServiceForm(FlaskForm):
 | 
					class CreateServiceForm(FlaskForm):
 | 
				
			||||||
    date = DateField('Date of Pitstop')
 | 
					    date = DateField('Date of Service')
 | 
				
			||||||
    odometer = IntegerField('Odometer (km)', validators=[odometer_date_check])
 | 
					    odometer = IntegerField('Odometer (km)', validators=[odometer_date_check])
 | 
				
			||||||
    costs = DecimalField('Costs (€, overall)', places=2, validators=[costs_check])
 | 
					    costs = DecimalField('Costs (€, overall)', places=2, validators=[costs_check])
 | 
				
			||||||
    description = TextAreaField('Description', validators=[Length(1, 4096)])
 | 
					    description = TextAreaField('Description', validators=[Length(1, 4096)])
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user