{"id":15508,"date":"2026-07-04T15:06:09","date_gmt":"2026-07-04T09:36:09","guid":{"rendered":"https:\/\/abkaritoday.com\/?page_id=15508"},"modified":"2026-07-04T17:48:15","modified_gmt":"2026-07-04T12:18:15","slug":"wholesale-icard-generator","status":"publish","type":"page","link":"https:\/\/abkaritoday.com\/?page_id=15508","title":{"rendered":"Wholesale I-Card Generator"},"content":{"rendered":"    <div id=\"wig58-app\" class=\"wig58-app\">\n        <div class=\"wig58-form no-print\">\n            <div class=\"wig58-row2\">\n                <label>\u0915\u093e\u0930\u094d\u092f\u093e\u0932\u092f \u0936\u0940\u0930\u094d\u0937\u0915\n                    <input type=\"text\" class=\"wig58-yellow\" id=\"wig58-office\" value=\"\u0915\u093e\u0930\u094d\u092f\u093e\u0932\u092f \u091c\u093f\u0932\u093e \u0906\u092c\u0915\u093e\u0930\u0940 \u0905\u0927\u093f\u0915\u093e\u0930\u0940, \u092a\u094d\u0930\u092f\u093e\u0917\u0930\u093e\u091c\u0964\" readonly>\n                <\/label>\n                <label>\u0935\u0930\u094d\u0937\n                    <input type=\"text\" class=\"wig58-yellow\" id=\"wig58-year\" readonly>\n                <\/label>\n            <\/div>\n            <div class=\"wig58-row2\">\n                <label>\u0926\u093f\u0928\u093e\u0902\u0915\n                    <input type=\"text\" class=\"wig58-yellow\" id=\"wig58-date\" readonly>\n                <\/label>\n                <label>\u091c\u0928\u092a\u0926\n                    <input type=\"text\" class=\"wig58-yellow\" id=\"wig58-district\" value=\"PRAYAGRAJ\" readonly>\n                <\/label>\n            <\/div>\n\n            <label>\u0905\u0928\u0941\u091c\u094d\u091e\u093e\u092a\u0928 \u0928\u092e\u094d\u092c\u0930\n                <input type=\"text\" id=\"wig58-license-no\" placeholder=\"LIC\/WHOLESALE\/CL2\/PRAYAGRAJ\/...\" autocomplete=\"off\" spellcheck=\"false\" autofocus>\n            <\/label>\n            <label>\u0905\u0928\u0941\u091c\u094d\u091e\u093e\u092a\u0940 \u0915\u093e \u0928\u093e\u092e\n                <input type=\"text\" id=\"wig58-licensee-name\" placeholder=\"LICENSEE NAME\" autocomplete=\"off\" spellcheck=\"false\">\n            <\/label>\n            <label>\u0905\u0928\u0941\u091c\u094d\u091e\u093e\u092a\u0940 \u0915\u093e \u092a\u0924\u093e\n                <textarea id=\"wig58-licensee-address\" placeholder=\"LICENSEE ADDRESS\" autocomplete=\"off\" spellcheck=\"false\"><\/textarea>\n            <\/label>\n            <label>\u0917\u094b\u0926\u093e\u092e \u0915\u093e \u092a\u094d\u0930\u0915\u093e\u0930\n                <select id=\"wig58-license-type\">\n                    <option selected>CL2<\/option>\n                    <option>FL2<\/option>\n                    <option>FL2B<\/option>\n                <\/select>\n            <\/label>\n            <label>\u0917\u094b\u0926\u093e\u092e \u0915\u093e \u092a\u0924\u093e\n                <textarea id=\"wig58-godown-address\" placeholder=\"GODOWN ADDRESS\" autocomplete=\"off\" spellcheck=\"false\"><\/textarea>\n            <\/label>\n\n            <h3>\u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e \u0935\u093f\u0935\u0930\u0923<\/h3>\n            <div id=\"wig58-salesman-wrap\"><\/div>\n            <button type=\"button\" class=\"wig58-btn wig58-add\" id=\"wig58-add-salesman\">+ Add Salesman<\/button>\n            <div class=\"wig58-actions\">\n                <button type=\"button\" class=\"wig58-btn\" id=\"wig58-generate\">Generate I-Card<\/button>\n                <button type=\"button\" class=\"wig58-btn\" id=\"wig58-print\">Print \/ Save PDF<\/button>\n                <button type=\"button\" class=\"wig58-btn wig58-clear\" id=\"wig58-clear\">Clear<\/button>\n            <\/div>\n        <\/div>\n\n        <div id=\"wig58-print-page\" class=\"wig58-print-page\">\n            <div id=\"wig58-card\" class=\"wig58-card\">\n                <table class=\"wig58-main-table\">\n                    <colgroup>\n                        <col style=\"width:28%\">\n                        <col style=\"width:72%\">\n                    <\/colgroup>\n                    <tbody>\n                        <tr><td colspan=\"2\" class=\"wig58-head\"><div>\u0915\u093e\u0930\u094d\u092f\u093e\u0932\u092f \u091c\u093f\u0932\u093e \u0906\u092c\u0915\u093e\u0930\u0940 \u0905\u0927\u093f\u0915\u093e\u0930\u0940, \u092a\u094d\u0930\u092f\u093e\u0917\u0930\u093e\u091c\u0964<\/div><div id=\"wig58-p-year\">\u0935\u0930\u094d\u0937 \u2013 2026-27<\/div><\/td><\/tr>\n                        <tr><td colspan=\"2\" class=\"wig58-photo-cell\"><div id=\"wig58-photo-wrap\" class=\"wig58-photo-wrap\"><\/div><\/td><\/tr>\n                        <tr><td class=\"wig58-label\">\u0926\u093f\u0928\u093e\u0902\u0915<\/td><td id=\"wig58-p-date\"><\/td><\/tr>\n                        <tr><td class=\"wig58-label\">\u091c\u0928\u092a\u0926<\/td><td>PRAYAGRAJ<\/td><\/tr>\n                        <tr><td class=\"wig58-label\">\u0905\u0928\u0941\u091c\u094d\u091e\u093e\u092a\u0928 \u0928\u092e\u094d\u092c\u0930<\/td><td id=\"wig58-p-license-no\"><\/td><\/tr>\n                        <tr><td class=\"wig58-label\">\u0905\u0928\u0941\u091c\u094d\u091e\u093e\u092a\u0940 \u0915\u093e \u0928\u093e\u092e<\/td><td id=\"wig58-p-licensee-name\"><\/td><\/tr>\n                        <tr><td class=\"wig58-label\">\u0905\u0928\u0941\u091c\u094d\u091e\u093e\u092a\u0940 \u0915\u093e \u092a\u0924\u093e<\/td><td id=\"wig58-p-licensee-address\"><\/td><\/tr>\n                        <tr><td class=\"wig58-label\">\u0917\u094b\u0926\u093e\u092e \u0915\u093e \u092a\u094d\u0930\u0915\u093e\u0930<\/td><td id=\"wig58-p-license-type\">CL2<\/td><\/tr>\n                        <tr><td class=\"wig58-label\">\u0917\u094b\u0926\u093e\u092e \u0915\u093e \u092a\u0924\u093e<\/td><td id=\"wig58-p-godown-address\"><\/td><\/tr>\n                        <tr><td colspan=\"2\" class=\"wig58-note\">\u0909\u092a\u0930\u094b\u0915\u094d\u0924 \u0917\u094b\u0926\u093e\u092e \u0939\u0947\u0924\u0941 \u0928\u093f\u092e\u094d\u0928\u0932\u093f\u0916\u093f\u0924 \u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e\u0913\u0902 \u0915\u094b \u0938\u094d\u0935\u0940\u0915\u0943\u0924\u093f \u092a\u094d\u0930\u0926\u093e\u0928 \u0915\u0940 \u091c\u093e\u0924\u0940 \u0939\u0948\u0964<\/td><\/tr>\n                        <tr><td colspan=\"2\" class=\"wig58-seller-cell\">\n                            <table class=\"wig58-seller-table\">\n                                <colgroup>\n                                    <col style=\"width:9%\">\n                                    <col style=\"width:17%\">\n                                    <col style=\"width:17%\">\n                                    <col style=\"width:15%\">\n                                    <col style=\"width:16%\">\n                                    <col style=\"width:26%\">\n                                <\/colgroup>\n                                <thead>\n                                    <tr>\n                                        <th>\u0915\u094d\u0930\u092e \u0938\u09020<\/th>\n                                        <th>\u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e \u0915\u093e \u0928\u093e\u092e<\/th>\n                                        <th>\u092a\u093f\u0924\u093e \u0915\u093e \u0928\u093e\u092e<\/th>\n                                        <th>\u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e \u0915\u0940 \u091c\u0928\u094d\u092e \u0924\u093f\u0925\u093f<\/th>\n                                        <th>\u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e \u0915\u093e \u092e\u094b\u092c\u093e\u0907\u0932 \u0928\u092e\u094d\u092c\u0930<\/th>\n                                        <th>\u092a\u0924\u093e<\/th>\n                                    <\/tr>\n                                <\/thead>\n                                <tbody id=\"wig58-p-seller-rows\"><\/tbody>\n                            <\/table>\n                        <\/td><\/tr>\n                    <\/tbody>\n                <\/table>\n            <\/div>\n            <div class=\"wig58-signature\">\n                <div class=\"wig58-sign-block\">\u091c\u093f\u0932\u093e \u0906\u092c\u0915\u093e\u0930\u0940 \u0905\u0927\u093f\u0915\u093e\u0930\u0940<br><span>\u092a\u094d\u0930\u092f\u093e\u0917\u0930\u093e\u091c<\/span><\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <style>\n        .wig58-app{font-family:Arial,'Noto Sans Devanagari',sans-serif;max-width:1120px;margin:0 auto;color:#000}.wig58-form{background:#f7f7f7;border:1px solid #ddd;padding:16px;margin-bottom:18px}.wig58-row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wig58-form label{display:block;font-size:22px;font-weight:700;margin:14px 0 8px}.wig58-form input,.wig58-form select,.wig58-form textarea{width:100%;box-sizing:border-box;font-size:20px;padding:12px;border:1px solid #bbb;border-radius:4px;background:#fff;text-transform:uppercase}.wig58-form textarea{height:78px;resize:vertical}.wig58-yellow{background:#fff3cd!important;border-color:#e0a800!important;font-weight:700}.wig58-salesman-box{background:#fff;border:1px solid #ccc;padding:14px;margin:12px 0}.wig58-salesman-box h4{font-size:22px;margin:0 0 10px}.wig58-btn{background:#1f5faa;color:#fff;border:0;border-radius:4px;padding:11px 18px;margin:8px 8px 0 0;font-weight:700;cursor:pointer}.wig58-add{background:#178d55}.wig58-clear{background:#777}.wig58-btn:active,.wig58-btn:focus{outline:none;filter:none}.wig58-del{background:#777;float:right;padding:7px 12px;margin:0}.wig58-print-page{width:210mm;height:297mm;margin:0 auto;background:white;box-sizing:border-box;padding:8mm 10mm 6mm;overflow:hidden}.wig58-card{width:190mm;margin:0 auto}.wig58-main-table{width:100%;border-collapse:collapse;table-layout:fixed;border:3px solid #000;font-size:13.5px;font-weight:700;line-height:1.15}.wig58-main-table td{border:1px solid #000;padding:4px 6px;vertical-align:middle;word-break:break-word;overflow-wrap:anywhere}.wig58-head{text-align:center;height:14mm;font-size:15.5px;line-height:1.2}.wig58-photo-cell{height:51mm;text-align:center;padding:5mm 4mm!important}.wig58-photo-wrap{display:flex;justify-content:center;align-items:center;gap:7mm;flex-wrap:wrap}.wig58-photo-box{width:31mm;height:41mm;border:1.5px solid #000;display:flex;align-items:flex-end;justify-content:center;box-sizing:border-box;padding-bottom:4mm;font-size:12px}.wig58-label{background:#f5f5f5}.wig58-note{text-align:center;height:10mm}.wig58-seller-cell{padding:0!important;border-left:0!important;border-right:0!important}.wig58-seller-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12.2px;line-height:1.1}.wig58-seller-table th,.wig58-seller-table td{border:1px solid #000;padding:4px 4px;text-align:center;vertical-align:middle;font-weight:700;word-break:break-word;overflow-wrap:anywhere}.wig58-seller-table th{background:#f5f5f5;height:9mm}.wig58-seller-table td{height:8mm}.wig58-seller-table td:last-child{text-align:left}.wig58-signature{width:190mm;margin:9mm auto 0;text-align:right;font-size:14px;font-weight:700;line-height:1.35}.wig58-sign-block{display:inline-block;text-align:center;min-width:42mm}.wig58-sign-block span{display:inline-block;margin-top:2mm}@media(max-width:900px){.wig58-row2{grid-template-columns:1fr}.wig58-print-page{transform:scale(.55);transform-origin:top center;margin-bottom:-120mm}}\n        @media print{html,body{margin:0!important;padding:0!important;width:210mm;height:297mm;overflow:hidden!important;background:#fff!important}body *{visibility:hidden!important}.no-print{display:none!important}#wig58-print-page,#wig58-print-page *{visibility:visible!important}#wig58-print-page{position:fixed!important;left:0!important;top:0!important;width:210mm!important;height:297mm!important;margin:0!important;padding:8mm 10mm 6mm!important;box-sizing:border-box!important;overflow:hidden!important;page-break-before:avoid!important;page-break-after:avoid!important;page-break-inside:avoid!important}.wig58-card{width:190mm!important;margin:0 auto!important}.wig58-main-table{font-size:13.5px!important}.wig58-photo-cell{height:51mm!important}.wig58-photo-box{width:31mm!important;height:41mm!important}.wig58-seller-table{font-size:12.2px!important}.wig58-signature{width:190mm!important;margin:9mm auto 0!important;line-height:1.35!important}.wig58-sign-block span{margin-top:2mm!important}@page{size:A4 portrait;margin:0}}\n    <\/style>\n\n    <script>\n    (function(){\n        let salesmanCount = 0;\n        const $ = id => document.getElementById(id);\n        function today(){ const d=new Date(); return String(d.getDate()).padStart(2,'0')+'-'+String(d.getMonth()+1).padStart(2,'0')+'-'+d.getFullYear(); }\n        function fy(){ const d=new Date(); let y=d.getFullYear(); if(d.getMonth()<3)y--; return y+'-'+String(y+1).slice(-2); }\n        function caps(el){ if(!el) return; el.value = el.value.toUpperCase(); }\n        function val(id){ return ($(id)?.value || '').trim(); }\n        function renumber(){ document.querySelectorAll('.wig58-salesman-box').forEach((box,i)=>{ const title=box.querySelector('.wig58-sm-title'); if(title) title.textContent='\u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e-'+(i+1); }); }\n        function addSalesman(){\n            salesmanCount++;\n            const box=document.createElement('div'); box.className='wig58-salesman-box';\n            box.innerHTML='<h4><span class=\"wig58-sm-title\">\u0935\u093f\u0915\u094d\u0930\u0947\u0924\u093e-'+salesmanCount+'<\/span>'+(salesmanCount>1?'<button type=\"button\" class=\"wig58-btn wig58-del\">Delete<\/button>':'')+'<\/h4>'+ \n            '<div class=\"wig58-row2\"><label>\u0928\u093e\u092e<input type=\"text\" class=\"wig58-sm-name\" placeholder=\"SELLER NAME\" autocomplete=\"off\" spellcheck=\"false\"><\/label><label>\u092a\u093f\u0924\u093e \u0915\u093e \u0928\u093e\u092e<input type=\"text\" class=\"wig58-sm-father\" placeholder=\"FATHER NAME\" autocomplete=\"off\" spellcheck=\"false\"><\/label><label>\u091c\u0928\u094d\u092e \u0924\u093f\u0925\u093f<input type=\"text\" class=\"wig58-sm-dob\" placeholder=\"DD-MM-YYYY\" autocomplete=\"off\"><\/label><label>\u092e\u094b\u092c\u093e\u0907\u0932 \u0928\u092e\u094d\u092c\u0930<input type=\"text\" class=\"wig58-sm-mobile\" maxlength=\"10\" placeholder=\"MOBILE\" autocomplete=\"off\"><\/label><\/div><label>\u092a\u0924\u093e<textarea class=\"wig58-sm-address\" placeholder=\"ADDRESS\" autocomplete=\"off\" spellcheck=\"false\"><\/textarea><\/label>';\n            $('wig58-salesman-wrap').appendChild(box);\n            box.querySelectorAll('input,textarea').forEach(el=>el.addEventListener('input',()=>caps(el)));\n            const del=box.querySelector('.wig58-del'); if(del){ del.addEventListener('click',()=>{box.remove(); renumber(); generate();}); }\n            generate();\n        }\n        function generate(){\n            $('wig58-p-year').textContent='\u0935\u0930\u094d\u0937 \u2013 '+val('wig58-year'); $('wig58-p-date').textContent=val('wig58-date');\n            $('wig58-p-license-no').textContent=val('wig58-license-no').toUpperCase(); $('wig58-p-licensee-name').textContent=val('wig58-licensee-name').toUpperCase();\n            $('wig58-p-licensee-address').textContent=val('wig58-licensee-address').toUpperCase(); $('wig58-p-license-type').textContent=val('wig58-license-type'); $('wig58-p-godown-address').textContent=val('wig58-godown-address').toUpperCase();\n            const rows=$('wig58-p-seller-rows'); const photos=$('wig58-photo-wrap'); rows.innerHTML=''; photos.innerHTML='';\n            document.querySelectorAll('.wig58-salesman-box').forEach((box,i)=>{\n                photos.insertAdjacentHTML('beforeend','<div class=\"wig58-photo-box\">\u092b\u094b\u091f\u094b - '+(i+1)+'<\/div>');\n                rows.insertAdjacentHTML('beforeend','<tr><td>'+(i+1)+'<\/td><td>'+box.querySelector('.wig58-sm-name').value.toUpperCase()+'<\/td><td>'+box.querySelector('.wig58-sm-father').value.toUpperCase()+'<\/td><td>'+box.querySelector('.wig58-sm-dob').value+'<\/td><td>'+box.querySelector('.wig58-sm-mobile').value+'<\/td><td>'+box.querySelector('.wig58-sm-address').value.toUpperCase()+'<\/td><\/tr>');\n            });\n        }\n        function filename(){ let n=val('wig58-licensee-name').toUpperCase().replace(\/[^A-Z0-9]+\/g,'_')||'ICARD'; let t=val('wig58-license-type')||'CL2'; const d=new Date(); let time=String(d.getHours()).padStart(2,'0')+'-'+String(d.getMinutes()).padStart(2,'0')+'-'+String(d.getSeconds()).padStart(2,'0'); return n+'_'+t+'_'+today()+'_'+time; }\n        document.addEventListener('DOMContentLoaded',function(){\n            $('wig58-date').value=today(); $('wig58-year').value=fy();\n            ['wig58-license-no','wig58-licensee-name','wig58-licensee-address','wig58-godown-address'].forEach(id=>$(id).addEventListener('input',function(){caps(this); generate();}));\n            $('wig58-license-type').addEventListener('change',generate); $('wig58-add-salesman').addEventListener('click',addSalesman); $('wig58-generate').addEventListener('click',generate); $('wig58-print').addEventListener('click',function(){generate(); document.title=filename(); window.print();}); $('wig58-clear').addEventListener('click',function(){location.reload();});\n            addSalesman(); generate();\n            setTimeout(function(){ const first=$('wig58-license-no'); if(first){ first.focus(); first.setSelectionRange(0,0); } },200);\n        });\n    })();\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_regular_price":[],"currency_symbol":[],"footnotes":""},"class_list":["post-15508","page","type-page","status-publish","hentry"],"post_slider_layout_featured_media_urls":{"thumbnail":"","post_slider_layout_landscape_large":"","post_slider_layout_portrait_large":"","post_slider_layout_square_large":"","post_slider_layout_landscape":"","post_slider_layout_portrait":"","post_slider_layout_square":"","full":""},"publishpress_future_action":{"enabled":false,"date":"2026-07-12 00:48:41","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/abkaritoday.com\/index.php?rest_route=\/wp\/v2\/pages\/15508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abkaritoday.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/abkaritoday.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/abkaritoday.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abkaritoday.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15508"}],"version-history":[{"count":3,"href":"https:\/\/abkaritoday.com\/index.php?rest_route=\/wp\/v2\/pages\/15508\/revisions"}],"predecessor-version":[{"id":15531,"href":"https:\/\/abkaritoday.com\/index.php?rest_route=\/wp\/v2\/pages\/15508\/revisions\/15531"}],"wp:attachment":[{"href":"https:\/\/abkaritoday.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}