This commit is contained in:
focp212@naver.com
2025-11-05 17:29:07 +09:00
parent f1f38551fa
commit 3982b3c745
15 changed files with 79 additions and 235 deletions

View File

@@ -151,14 +151,25 @@ export const CashReceiptListPage = () => {
&& rs.nextCursor !== pageParam.cursor
&& rs.content.length === DEFAULT_PAGE_PARAM.size
);
});
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
return;
}
});
cashReceiptSummary(listSummaryParams).then((rs: CashReceiptSummaryResponse) => {
setApprovalCount(rs.approvalCount);
setApprovalAmount(rs.approvalAmount);
setCancelCount(rs.cancelCount);
setCancelAmount(rs.cancelAmount);
setTotalCount(rs.totalCount);
});
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
return;
}
});
}