|
|
@@ -13,6 +13,8 @@ import * as ComboData from "utils/ComboData"; |
|
|
|
import * as DateUtils from "utils/DateUtils"; |
|
|
|
import * as FormatUtils from "utils/FormatUtils"; |
|
|
|
import {FormattedMessage, useIntl} from "react-intl"; |
|
|
|
import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; |
|
|
|
import {ThemeProvider} from "@emotion/react"; |
|
|
|
// ==============================|| DASHBOARD - DEFAULT ||============================== // |
|
|
|
|
|
|
|
|
|
|
@@ -76,12 +78,12 @@ const SearchDemandNoteForm = ({ applySearch, searchCriteria, issueComboData |
|
|
|
> |
|
|
|
|
|
|
|
<form onSubmit={handleSubmit(onSubmit)}> |
|
|
|
<Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 3, mb: 3 }} width="98%"> |
|
|
|
<Grid container sx={{ backgroundColor: '#ffffff' }} width="98%"> |
|
|
|
{/*row 1*/} |
|
|
|
<Grid item xs={12}> |
|
|
|
<CardContent sx={{ px: 2.5, pt: 3 }}> |
|
|
|
<Grid item justifyContent="space-between" alignItems="center"> |
|
|
|
<Typography variant="h5"> |
|
|
|
<Grid item justifyContent="space-between" alignItems="center" > |
|
|
|
<Typography variant="h4"> |
|
|
|
<FormattedMessage id="search"/> |
|
|
|
</Typography> |
|
|
|
</Grid> |
|
|
@@ -210,35 +212,25 @@ const SearchDemandNoteForm = ({ applySearch, searchCriteria, issueComboData |
|
|
|
|
|
|
|
{/*last row*/} |
|
|
|
<Grid container maxWidth justifyContent="flex-end"> |
|
|
|
<Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> |
|
|
|
<Button |
|
|
|
size="large" |
|
|
|
variant="contained" |
|
|
|
onClick={resetForm} |
|
|
|
sx={{ |
|
|
|
textTransform: 'capitalize', |
|
|
|
alignItems: 'end' |
|
|
|
}}> |
|
|
|
<Typography variant="h5"> |
|
|
|
<ThemeProvider theme={PNSPS_BUTTON_THEME}> |
|
|
|
<Grid item sx={{mr: 3, mb: 3}}> |
|
|
|
<Button |
|
|
|
variant="contained" |
|
|
|
onClick={resetForm} |
|
|
|
> |
|
|
|
<FormattedMessage id="reset"/> |
|
|
|
</Typography> |
|
|
|
</Button> |
|
|
|
</Grid> |
|
|
|
</Button> |
|
|
|
</Grid> |
|
|
|
|
|
|
|
<Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> |
|
|
|
<Button |
|
|
|
size="large" |
|
|
|
variant="contained" |
|
|
|
type="submit" |
|
|
|
sx={{ |
|
|
|
textTransform: 'capitalize', |
|
|
|
alignItems: 'end' |
|
|
|
}}> |
|
|
|
<Typography variant="h5"> |
|
|
|
<Grid item sx={{ mb: 3 }}> |
|
|
|
<Button |
|
|
|
variant="contained" |
|
|
|
type="submit" |
|
|
|
> |
|
|
|
<FormattedMessage id="submit" /> |
|
|
|
</Typography> |
|
|
|
</Button> |
|
|
|
</Grid> |
|
|
|
</Button> |
|
|
|
</Grid> |
|
|
|
</ThemeProvider> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</form> |
|
|
|