fix: [accounting] 일반전표 수동입력 모달 개선 + 입고 상세 정리
This commit is contained in:
@@ -224,9 +224,7 @@ export function ReceivingDetail({ id, mode = 'view' }: Props) {
|
||||
if (templateCheck.success) {
|
||||
setHasInspectionTemplate(templateCheck.hasTemplate);
|
||||
}
|
||||
if (templateCheck.attachments && templateCheck.attachments.length > 0) {
|
||||
setInspectionAttachments(templateCheck.attachments);
|
||||
}
|
||||
setInspectionAttachments(templateCheck.attachments ?? []);
|
||||
} else {
|
||||
setHasInspectionTemplate(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user