필터 달력 수정

This commit is contained in:
focp212@naver.com
2025-11-24 09:41:34 +09:00
parent bd79f4f06c
commit d607b6c619
2 changed files with 5 additions and 7 deletions

View File

@@ -278,11 +278,6 @@ export const AmountInfoSection = ({
tid: tid
};
cashReceiptReceiptDownload(params).then((rs: CashReceiptReceiptDownloadResponse) => {
/*
if(rs?.merchantInfo){
rs.merchantInfo.merchantName = '나이스페이먼츠';
}
*/
setReceiptIssueInfo(rs?.issueInfo);
setReceiptMerchantInfo(rs?.merchantInfo);
setReceiptTransactionInfo(rs?.transactionInfo);

View File

@@ -64,6 +64,9 @@ export const FilterCalendar = ({
};
const onClickToOpenCalendar = (calendarType: CalendarType) => {
setCalendarOpen(true);
setCalendarType(calendarType);
/*
if(!dateReadOnly){
setCalendarOpen(true);
setCalendarType(calendarType);
@@ -72,6 +75,7 @@ export const FilterCalendar = ({
setCalendarOpen(false);
}
*/
};
const setNewDate = (date: string, calendarType: CalendarType) => {
@@ -83,6 +87,7 @@ export const FilterCalendar = ({
setEndDate(moment(date, 'YYYY.MM.DD').format('YYYYMMDD'));
setNewEndDate(moment(date, 'YYYY.MM.DD').format('YYYY.MM.DD'));
}
setFilterDateOptionsBtn(FilterDateOptions.Input);
setCalendarOpen(false);
};
@@ -141,7 +146,6 @@ export const FilterCalendar = ({
placeholder={t('filter.selectDate')}
value={ newStartDate }
onChange={ (e: ChangeEvent<HTMLInputElement>) => {} }
readOnly={ dateReadOnly }
/>
<button
type="button"
@@ -163,7 +167,6 @@ export const FilterCalendar = ({
placeholder={t('filter.selectDate')}
value={ newEndDate }
onChange={ (e: ChangeEvent<HTMLInputElement>) => {} }
readOnly={ dateReadOnly }
/>
<button
type="button"