merging
This commit is contained in:
@@ -69,10 +69,10 @@ export default function PickerWithButtonField({formik, disabled}) {
|
||||
>
|
||||
<LocalizationProvider dateAdapter={AdapterDateFnsJalali}>
|
||||
<ButtonDatePicker
|
||||
label={formik.values.birthday === "" ? null : formik.values.birthday
|
||||
label={formik.values.birthday
|
||||
.locale("fa")
|
||||
.format("YYYY/MM/DD")}
|
||||
value={formik.values.birthday === "" ? null : formik.values.birthday.toDate()}
|
||||
value={formik.values.birthday.toDate()}
|
||||
formik={formik}
|
||||
disabled={disabled}
|
||||
onChange={(newValue) => {
|
||||
|
||||
@@ -13,14 +13,15 @@ function SelectBox({
|
||||
disabled,
|
||||
helperText,
|
||||
isLoading,
|
||||
errorEcured
|
||||
errorEcured,
|
||||
variant = "outlined"
|
||||
}) {
|
||||
const t = useTranslations();
|
||||
|
||||
return (
|
||||
<FormControl
|
||||
disabled={disabled || false}
|
||||
variant={"outlined"}
|
||||
variant={variant}
|
||||
fullWidth
|
||||
size="small"
|
||||
error={error}
|
||||
|
||||
@@ -18,4 +18,7 @@ export const GET_CITIES_LIST = BASE_URL + "/cities";
|
||||
export const GET_EDUCATIONS_LIST = BASE_URL + "/education";
|
||||
export const GET_OCCUPATIONS_LIST = BASE_URL + "/occupations";
|
||||
|
||||
export const GET_LOAN_DETAILS = BASE_URL + "/navgan/loan/details/"
|
||||
export const UPDATE_LOAN = BASE_URL + "/navgan/loan/update/"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user