| @@ -86,7 +86,7 @@ const InvoiceSearch: React.FC<Props> = ({ issuedInvoice, receivedInvoice, invoic | |||||
| const formData = new FormData(); | const formData = new FormData(); | ||||
| formData.append('multipartFileList', file); | formData.append('multipartFileList', file); | ||||
| const response = await importInvoices(formData); | |||||
| const response = await importIssuedInovice(formData); | |||||
| // response: status, message, projectList, emptyRowList, invoiceList | // response: status, message, projectList, emptyRowList, invoiceList | ||||
| console.log(response) | console.log(response) | ||||
| @@ -271,8 +271,8 @@ const InvoiceSearch: React.FC<Props> = ({ issuedInvoice, receivedInvoice, invoic | |||||
| flexWrap="wrap" | flexWrap="wrap" | ||||
| spacing={2} | spacing={2} | ||||
| > | > | ||||
| {/* <ButtonGroup variant="contained"> */} | |||||
| {/* <Button startIcon={<FileUploadIcon />} variant="contained" component="label"> | |||||
| <ButtonGroup variant="contained"> | |||||
| <Button startIcon={<FileUploadIcon />} variant="contained" component="label"> | |||||
| <input | <input | ||||
| id='importExcel' | id='importExcel' | ||||
| type='file' | type='file' | ||||
| @@ -291,9 +291,9 @@ const InvoiceSearch: React.FC<Props> = ({ issuedInvoice, receivedInvoice, invoic | |||||
| onChange={(event) => {handleRecImportClick(event)}} | onChange={(event) => {handleRecImportClick(event)}} | ||||
| /> | /> | ||||
| {t("Import Invoice Amount Receive Summary")} | {t("Import Invoice Amount Receive Summary")} | ||||
| </Button> */} | |||||
| {/* </ButtonGroup> */} | |||||
| <Button startIcon={<FileUploadIcon />} variant="contained" component="label"> | |||||
| </Button> | |||||
| </ButtonGroup> | |||||
| {/* <Button startIcon={<FileUploadIcon />} variant="contained" component="label"> | |||||
| <input | <input | ||||
| id='importExcel' | id='importExcel' | ||||
| type='file' | type='file' | ||||
| @@ -302,7 +302,7 @@ const InvoiceSearch: React.FC<Props> = ({ issuedInvoice, receivedInvoice, invoic | |||||
| onChange={(event) => {handleImportClick(event)}} | onChange={(event) => {handleImportClick(event)}} | ||||
| /> | /> | ||||
| {t("Import Invoice Summary")} | {t("Import Invoice Summary")} | ||||
| </Button> | |||||
| </Button> */} | |||||
| </Stack> | </Stack> | ||||
| { | { | ||||
| // tabIndex == 0 && | // tabIndex == 0 && | ||||