...
After Submitting the Property Create Application user can download / Print the Acknowledgement .
...
Reference.
View file | ||
---|---|---|
|
Here generatePdfFromDiv
method will take a screenshot of the PT Information screen and on click of download/ print based on the first attribute been sent as “download
“/”print
”.
Code Block |
---|
let applicationDownloadObject = {
label: { labelName: "Application", labelKey: "PT_APPLICATION" },
link: () => {
generatePdfFromDiv("download", subHeaderValue, "#property-review-form");
},
leftIcon: "assignment"
};
let applicationPrintObject = {
label: { labelName: "Application", labelKey: "PT_APPLICATION" },
link: () => {
generatePdfFromDiv("print", subHeaderValue, "#property-review-form");
},
leftIcon: "assignment"
}; |
generatePdfFromDiv
is a custom method present in egov-ui-kit package used for client side downloading of the Acknowledgement pdfof the PT Application , application is generated and downloaded.
Reference:
https://github.com/egovernments/frontend/blob/0a4e22c6045a735e4c308bda1a3952be936539feedd5906c8562c94e80bee10943403316b47e913d/web/rainmaker/dev-packages/egov-ui-kit-dev/src/utils/PTCommonpdfUtils/indexgeneratePTAcknowledgment.js
Header Generation of the PDF consists of the ULB logo and its contact details.
Header component for the pdf is present in
web\rainmaker\dev-packages\egov-ui-kit-dev\src\common\propertyTax\Property\components\PdfHeader\index.js
Reference:
Usage as follow,
Code Block |
---|
<PdfHeader header={{
logoUrl: logoUrl, corpCity: corpCity, ulbGrade: ulbGrade,
label: "PT_PDF_SUBHEADER"
}}
subHeader={{
label: "PT_PROPERTY_ID",
value: `: ${get(properties, "propertyId")}`
}}>
</PdfHeader> |
Usually it will get hidden in screen and visible only on the PDF that are being generated.
is explained in
Generation of Acknowledgement PDF
2. Receipt Download
Once Payment for Assessment of a property / Mutation fee payment is done receipt will get generated.
...
It is Similar to the property create acknowledgement download/print.
on click of download/ print .same client side pdf generation using same generatePdfFromDiv
method.of the PT Mutation Application , application is generated and downloaded.
Reference:
Generation of PDF is explained in
Generation of Acknowledgement PDF
4. Mutation Certificate Download/print,
...