Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15111 | Rev 15113 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15111 Rev 15112
Línea 36... Línea 36...
36
 
36
 
37
		const formData = new FormData()
37
		const formData = new FormData()
38
		const submitData = {
38
		const submitData = {
39
			...data,
39
			...data,
40
			...location,
-
 
41
			last_date: action === 'edit'
-
 
42
				? new Intl.DateTimeFormat('az').format(new Date(year))
40
			...location,
43
				: new Intl.DateTimeFormat('az').format(year),
41
			last_date: new Date(year).toLocaleDateString('en-ZA'),
44
			status: isActive ? 'a' : 'i'
42
			status: isActive ? 'a' : 'i'
45
		}
43
		}
46
		if (!location.formatted_address) {
44
		if (!location.formatted_address) {
47
			// locationRef.current.focus();
45
			// locationRef.current.focus();