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