invoice
This commit is contained in:
@@ -15,6 +15,7 @@ import { ServiceItemType } from '../service/types/ServiceTypes'
|
||||
import { useCreateAnnoncement } from './hooks/useAnnoncementData'
|
||||
import { ErrorType } from '../../helpers/types'
|
||||
import { toast } from 'react-toastify'
|
||||
import moment from 'moment-jalaali'
|
||||
|
||||
const Create: FC = () => {
|
||||
|
||||
@@ -119,7 +120,7 @@ const Create: FC = () => {
|
||||
<div className='bg-white mt-10 w-sidebar text-xs hidden 2xl:block h-fit px-5 py-7 rounded-3xl'>
|
||||
<DatePickerComponent
|
||||
label={t('announcement.publish_date')}
|
||||
onChange={(d) => formik.setFieldValue('publishAt', d)}
|
||||
onChange={(d) => formik.setFieldValue('publishAt', moment(d, 'jYYYY-jMM-jDD').format('YYYY-MM-DD'))}
|
||||
placeholder={t('select')}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user