1(self.webpackChunkabc_corp=self.webpackChunkabc_corp||[]).push([[6702,8632],{64761:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>c});var n=a(50390),s=a(96863),i=a(25475),l=a(61493),r=a(74331),o=a(70093),d=a(62559);const c=(0,i.Z)()((e=>{var t,a,i,c,p,u,m,v,h,_,x;const{activeTab:f}=e,[j,N]=(0,n.useState)(!1);(0,n.useEffect)((()=>{N("tax"===f)}),[f]);const[b,g]=(0,n.useState)({basicDetails:{name:"",monthlyRent:0,panNumber:"",email:""},homeDetails:{ownerName:"",ownerPanNumber:"",startDate:"",endDate:""},address:""}),[w,y]=(0,n.useState)(),[D,E]=(0,n.useState)(!1);(0,n.useEffect)((()=>{if(D){(0,r.eA)(w).toBlob().then((e=>{(0,s.saveAs)(e,"ABCD Rent Receipt.pdf")}))}return()=>{}}),[w]);return(0,d.jsx)("div",{className:"tab-content v-pills-tax-tabContent "+(j?"":"d-none"),id:"v-pills-tax-tabContent",children:(0,d.jsx)("div",{className:"tab-pane fade",id:"v-pills-inctcalc",role:"tabpanel","aria-labelledby":"v-pills-inctcalc",children:(0,d.jsxs)("div",{className:"basic_details_wrapper",children:[(0,d.jsxs)("section",{id:"generate_repo_inp",children:[(0,d.jsxs)("div",{className:"basic_details_wrapper_main",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"Basic Details"}),(0,d.jsxs)("div",{className:"stepper_form_input_field_grid_Wrapper",children:[(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"NAME"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"text",value:null===b||void 0===b||null===(t=b.basicDetails)||void 0===t?void 0:t.name,onChange:e=>g({...b,basicDetails:{...b.basicDetails,name:e.target.value}}),placeholder:"Enter your name"})})]}),(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"PAY MONTHLY RENT"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"text",value:`\u20b9 ${A=null===b||void 0===b||null===(a=b.basicDetails)||void 0===a?void 0:a.monthlyRent,A.toString().replace(/(\d)(?=(\d{2})+\d$)/g,"$1,")}`,onChange:e=>g({...b,basicDetails:{...b.basicDetails,monthlyRent:parseInt(e.target.value.replace(/\D/g,""))||0}}),placeholder:"\u20b90"})})]}),(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"PAN NUMBER"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"text",value:null===b||void 0===b||null===(i=b.basicDetails)||void 0===i?void 0:i.panNumber,onChange:e=>g({...b,basicDetails:{...b.basicDetails,panNumber:e.target.value}}),placeholder:"Pan number(optional)"})})]}),(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"EMAIL ID"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"email",value:null===b||void 0===b||null===(c=b.basicDetails)||void 0===c?void 0:c.email,onChange:e=>g({...b,basicDetails:{...b.basicDetails,email:e.target.value}}),placeholder:"Enter your email id"})})]})]})]}),(0,d.jsxs)("div",{className:"basic_details_wrapper_main mt-5",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"Home Details"}),(0,d.jsxs)("div",{className:"stepper_form_input_field_grid_Wrapper text_Area_Field",children:[(0,d.jsxs)("div",{className:"stepper_form_input_field_grid_inputs",children:[(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"OWNER'S NAME"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"text",value:null===b||void 0===b||null===(p=b.homeDetails)||void 0===p?void 0:p.ownerName,onChange:e=>g({...b,homeDetails:{...b.homeDetails,ownerName:e.target.value}}),placeholder:"Enter name"})})]}),(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"OWNER'S PAN NUMBER"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"text",value:null===b||void 0===b||null===(u=b.homeDetails)||void 0===u?void 0:u.ownerPanNumber,onChange:e=>g({...b,homeDetails:{...b.homeDetails,ownerPanNumber:e.target.value}}),placeholder:"Pan number(optional)"})})]}),(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"Enter start date"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"date",value:null===b||void 0===b||null===(m=b.homeDetails)||void 0===m?void 0:m.startDate,onChange:e=>g({...b,homeDetails:{...b.homeDetails,startDate:e.target.value}}),placeholder:"Enter start date"})})]}),(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"Enter end date"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("input",{className:"form-control",type:"date",value:null===b||void 0===b||null===(v=b.homeDetails)||void 0===v?void 0:v.endDate,onChange:e=>g({...b,homeDetails:{...b.homeDetails,endDate:e.target.value}}),placeholder:"Enter start date"})})]})]}),(0,d.jsx)("div",{className:"stepper_form_input_field_Wrappe_rented",children:(0,d.jsxs)("div",{className:"stepper_form_input_field_Wrapper",children:[(0,d.jsx)("span",{className:"tax_input_form_head",children:"RENTED HOUSE ADDRESS"}),(0,d.jsx)("div",{className:"calc_input_step_wrap",children:(0,d.jsx)("textarea",{className:"form-control",onChange:e=>g({...b,address:e.target.value}),placeholder:"Street/flatno",children:null===b||void 0===b?void 0:b.address})})]})})]})]})]}),(0,d.jsx)("section",{className:"d-none",id:"generated_receipt",children:(0,d.jsxs)("div",{className:"generate_receipt_wrapper",children:[(0,d.jsxs)("div",{className:"receipt_wrapper_top",children:[(0,d.jsx)("img",{src:"/assets/images/report_iconn.png",loading:"lazy"}),(0,d.jsxs)("p",{children:["Hello ",(0,d.jsx)("span",{children:"Nishant Sharma"})," you have successfully received sum of"," ",(0,d.jsx)("span",{children:"\u20b960,000"})," from ",(0,d.jsx)("span",{children:"Saurav Patel (PAN: AXPHJ3345A)"})," towards the rent of property located at"," ",(0,d.jsx)("span",{children:"2, Mira Bhyander, Maharashtra 4000067, India."}
1)," For the period from"," ",(0,d.jsx)("span",{children:"Jan 2023 to March 2023"})]})]}),(0,d.jsxs)("div",{className:"receipt_wrapper_bottom",children:[(0,d.jsxs)("div",{className:"report_signature_btm",children:[(0,d.jsx)("p",{children:"Signature"}),(0,d.jsx)("p",{className:"sig_stron",children:"Nishant Sharma"}),(0,d.jsx)("p",{className:"sig_pan",children:"(PAN : AXPHJ3345A)"})]}),(0,d.jsx)("div",{className:"revenue_stamp_div",children:(0,d.jsx)("p",{children:"Revenue Stamp"})})]})]})}),(0,d.jsx)("div",{className:"stpper_btn_wrapper",children:(0,d.jsx)("button",{id:"gen_repo_btn",className:"button generate_receipt_btn stpper_form_next_prev_btn",onClick:()=>{E(!0),y((0,d.jsx)(l.default,{formInput:b}))},type:"button",children:"GENERATE RENT RECEIPT"})}),(null===e||void 0===e||null===(h=e.fields)||void 0===h||null===(_=h.ctaButton)||void 0===_||null===(x=_.value)||void 0===x?void 0:x.text)&&(0,d.jsx)("div",{className:"know-more-btn sec_4_start_btn",children:(0,d.jsx)(o.default,{className:"ab_button red_outline",field:e.fields.ctaButton})})]})})});var A}))},61493:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});a(50390);var n=a(74331),s=a(60606),i=a.n(s),l=a(62559);const r=e=>{var t,a,s,r,o,d,c;let{formInput:p}=e;n.Zx.register({family:"AnekLatin-Light",src:"/assets/fonts/AnekLatin-Light.ttf",fontStyle:"normal",fontWeight:"normal"});return(0,l.jsx)(n.BB,{children:(0,l.jsx)(n.T3,{size:"A4",orientation:"landscape",renderTextLayer:!0,style:{fontFamily:"AnekLatin-Light",color:"#000",height:"100vh",width:"100vw",display:"flex",overflow:"hidden"},children:(0,l.jsx)(n.G7,{children:(0,l.jsx)("div",{id:"pdf-contents",style:{fontSize:"24px"},children:(0,l.jsxs)("div",{style:{borderBottom:"15px solid #CF1B35",borderTop:"15px solid #CF1B35",position:"relative"},children:[(0,l.jsxs)("div",{className:"pdf-heading",style:{textAlign:"right",padding:"50px"},children:[(0,l.jsx)(n.xv,{children:i()().format("MMMM")}),(0,l.jsx)(n.xv,{children:"123"})]}),(0,l.jsxs)("div",{style:{padding:"50px",height:"329px",maxHeight:"329px"},children:[(0,l.jsxs)(n.xv,{style:{fontSize:"24px"},children:["Received a sum of \u20b9",null===p||void 0===p||null===(t=p.basicDetails)||void 0===t?void 0:t.monthlyRent," for 3 Months from"," ",null===p||void 0===p||null===(a=p.basicDetails)||void 0===a?void 0:a.name," with PAN ",null===p||void 0===p||null===(s=p.basicDetails)||void 0===s?void 0:s.panNumber]}),(0,l.jsxs)(n.xv,{style:{fontSize:"24px",paddingTop:"20px"},children:["Details entered in My PAN \ufb01eld for property rent at ",null===p||void 0===p?void 0:p.address," during the ",null===p||void 0===p||null===(r=p.homeDetails)||void 0===r?void 0:r.startDate," to ",null===p||void 0===p||null===(o=p.homeDetails)||void 0===o?void 0:o.endDate," ","period. My PAN is ",null===p||void 0===p||null===(d=p.homeDetails)||void 0===d?void 0:d.ownerPanNumber]})]}),(0,l.jsxs)("div",{style:{paddingLeft:"50px",paddingBottom:"30px"},children:[(0,l.jsxs)("div",{style:{},children:[(0,l.jsx)(n.xv,{children:"From"}),(0,l.jsx)(n.xv,{children:null===p||void 0===p||null===(c=p.homeDetails)||void 0===c?void 0:c.ownerName})]}),(0,l.jsx)("div",{style:{position:"absolute",right:"60px",bottom:"40px",marginTop:"-120px"},children:(0,l.jsxs)("div",{style:{border:"3px solid #000",textAlign:"center",width:"120px",padding:"35px 15px"},children:[(0,l.jsx)(n.xv,{children:"Revenue"}),(0,l.jsx)(n.xv,{children:"Stamp"})]})})]})]})})})})})}},96863:function(e,t,a){var n,s,i;s=[],void 0===(i="function"===typeof(n=function(){"use strict";function t(e,t){return"undefined"==typeof t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function n(e,t,a){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){o(n.response,t,a)},n.onerror=function(){console.error("could not download file")},n.send()}function s(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");
1t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var l="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof a.g&&a.g.global===a.g?a.g:void 0,r=l.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=l.saveAs||("object"!=typeof window||window!==l?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(e,t,a){var r=l.URL||l.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin===location.origin?i(o):s(o.href)?n(e,t,a):i(o,o.target="_blank")):(o.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(o.href)}),4e4),setTimeout((function(){i(o)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,a,l){if(a=a||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,l),a);else if(s(e))n(e,a,l);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout((function(){i(r)}))}}:function(e,t,a,s){if((s=s||open("","_blank"))&&(s.document.title=s.document.body.innerText="downloading..."),"string"==typeof e)return n(e,t,a);var i="application/octet-stream"===e.type,o=/constructor/i.test(l.HTMLElement)||l.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||i&&o||r)&&"undefined"!=typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=d?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),s?s.location.href=e:location=e,s=null},c.readAsDataURL(e)}else{var p=l.URL||l.webkitURL,u=p.createObjectURL(e);
1s?s.location=u:location.href=u,s=null,setTimeout((function(){p.revokeObjectURL(u)}),4e4)}});l.saveAs=o.saveAs=o,e.exports=o})?n.apply(t,s):n)||(e.exports=i)},42480:()=>{}}]); 2//# sourceMappingURL=RentReceiptGenerator.a2704bad.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.