|
|
|
@@ -24,6 +24,7 @@ const DataGrid = Loadable(React.lazy(() => import('../Details_Public/DataGrid')) |
|
|
|
|
|
|
|
import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png' |
|
|
|
import {FormattedMessage,useIntl} from "react-intl"; |
|
|
|
import { toReceiptLanguage } from "utils/Utils"; |
|
|
|
const BackgroundHead = { |
|
|
|
backgroundImage: `url(${titleBackgroundImg})`, |
|
|
|
width: '100%', |
|
|
|
@@ -162,10 +163,8 @@ const AckPage = () => { |
|
|
|
const doPrint = () => { |
|
|
|
// window.print(); |
|
|
|
setOnDownload(true) |
|
|
|
const local = locale |
|
|
|
HttpUtils.fileDownload({ |
|
|
|
// url: UrlUtils.GEN_PAYMENT_RECEIPT+"/"+localStorage.getItem("paymentId")+"/"+local, |
|
|
|
url: UrlUtils.GEN_PAYMENT_RECEIPT+"/"+paymentData.id+"/"+local, |
|
|
|
url: UrlUtils.GEN_PAYMENT_RECEIPT+"/"+paymentData.id+"/"+toReceiptLanguage(locale), |
|
|
|
onResponse:()=>{ |
|
|
|
setOnDownload(false) |
|
|
|
}, |
|
|
|
|