āχāύāĻ­āϝāĻŧ⧇āϏ āĻœā§‡āύāĻžāϰ⧇āϟāϰ

āĻŽā§āĻšā§‚āĻ°ā§āϤ⧇āχ āĻĒ⧇āĻļāĻžāĻĻāĻžāϰ āχāύāĻ­āϝāĻŧ⧇āϏ āϤ⧈āϰāĻŋ āĻ•āϰ⧁āύāĨ¤ āφāĻĒāύāĻžāϰ āĻŦā§āĻ°ā§āϝāĻžāĻ¨ā§āĻĄāĻŋāĻ‚ āĻ•āĻžāĻ¸ā§āϟāĻŽāĻžāχāϜ āĻ•āϰ⧁āύ, āφāχāĻŸā§‡āĻŽ āϝ⧋āĻ— āĻ•āϰ⧁āύ āĻāĻŦāĻ‚ āĻĒāĻŋāĻĄāĻŋāĻāĻĢ āĻšāĻŋāϏāĻžāĻŦ⧇ āĻĄāĻžāωāύāϞ⧋āĻĄ āĻ•āϰ⧁āύāĨ¤ āĻĢā§āϰāĻŋāĻ˛ā§āϝāĻžāĻ¨ā§āϏāĻžāϰ, āϛ⧋āϟ āĻŦā§āϝāĻŦāϏāĻž āĻāĻŦāĻ‚ āĻ āĻŋāĻ•āĻžāĻĻāĻžāϰāĻĻ⧇āϰ āϜāĻ¨ā§āϝ āύāĻŋāϖ⧁āρāϤāĨ¤

📄 āϕ⧋āĻŽā§āĻĒāĻžāύāĻŋāϰ āϤāĻĨā§āϝ

👤 āĻŦāĻŋāϞ āĻĒā§āϰāĻžāĻĒāĻ•

🧾 āχāύāĻ­āϝāĻŧ⧇āϏ āĻŦāĻŋāĻŦāϰāĻŖ

đŸ“Ļ āϚāĻžāϞāĻžāύ āφāχāĻŸā§‡āĻŽ

āĻŦāĻŋāĻŦāϰāĻŖ āĻĒāϰāĻŋāĻŽāĻžāĻŖ āĻšāĻžāϰ āĻŽā§‹āϟ āϟāĻžāĻ•āĻž āĻ•āĻžāĻ°ā§āϝāĻ•ā§āϰāĻŽ
ā§ŗā§Ģā§Ļā§Ļ.ā§Ļā§Ļ āĻŽā§āϛ⧇ āĻĢ⧇āϞ⧁āύ

💰 āĻŽā§‹āϟ āĻ“ āĻ•āϰ

📝 āĻĒ⧇āĻŽā§‡āĻ¨ā§āϟ āĻļāĻ°ā§āϤāĻžāĻŦāϞ⧀ āĻ“ āύ⧋āϟ

āφāĻĒāύāĻžāϰ āϕ⧋āĻŽā§āĻĒāĻžāύāĻŋāϰ āύāĻžāĻŽ

123 Business St.
City, State 12345
āĻĻ⧇āĻļ
+ā§§ (ā§Ģā§Ģā§Ģ) ā§§ā§¨ā§Š-ā§Ēā§Ģā§Ŧā§­
contact@company.com
āϚāĻžāϞāĻžāύ

āĻŦāĻŋāϞ āĻĒā§āϰāĻžāĻĒāĻ•:

āĻ•ā§āϞāĻžāϝāĻŧ⧇āĻ¨ā§āϟ āϕ⧋āĻŽā§āĻĒāĻžāύāĻŋāϰ āύāĻžāĻŽ
456 Client Ave.
City, State 67890
āĻĻ⧇āĻļ
āϜāύ āĻ¸ā§āĻŽāĻŋāĻĨ
client@company.com

āϚāĻžāϞāĻžāύ⧇āϰ āĻŦāĻŋāĻŦāϰāĻŖ:

āϚāĻžāϞāĻžāύ āύāĻ‚: INV-001
āϤāĻžāϰāĻŋāĻ–: ⧍ā§Ļ⧍ā§Ģ-ā§Ļā§Ž-⧍⧍
āĻļ⧇āώ āϤāĻžāϰāĻŋāĻ–: ⧍ā§Ļ⧍ā§Ģ-ā§Ļ⧝-⧍⧧
āĻŽā§āĻĻā§āϰāĻž: āĻŽāĻžāĻ°ā§āĻ•āĻŋāύ āĻĄāϞāĻžāϰ
āĻŦāĻŋāĻŦāϰāĻŖ āĻĒāϰāĻŋāĻŽāĻžāĻŖ āĻšāĻžāϰ āĻŽā§‹āϟ āϟāĻžāĻ•āĻž
āĻ“āϝāĻŧ⧇āĻŦ āĻĄāĻŋāϜāĻžāχāύ āϏ⧇āĻŦāĻž 1 $ā§Ģā§Ļā§Ļ.ā§Ļā§Ļ $ā§Ģā§Ļā§Ļ.ā§Ļā§Ļ
āωāĻĒāĻŽā§‹āϟ: $ā§Ģā§Ļā§Ļ.ā§Ļā§Ļ
āϏāĻ°ā§āĻŦāĻŽā§‹āϟ: $ā§Ģā§Ļā§Ļ.ā§Ļā§Ļ

⚡ āĻĻā§āϰ⧁āϤ āĻļ⧁āϰ⧁āϰ āĻŸā§‡āĻŽāĻĒā§āϞ⧇āϟ

āĻĢā§āϰāĻŋāĻ˛ā§āϝāĻžāĻ¨ā§āϏāĻžāϰ āχāύāĻ­āϝāĻŧ⧇āϏ
āĻĢā§āϰāĻŋāĻ˛ā§āϝāĻžāĻ¨ā§āϏāĻžāϰ
āĻĄāĻŋāϜāĻžāχāύāĻžāϰ, āĻĄā§‡āϭ⧇āϞāĻĒāĻžāϰ, āĻĒāϰāĻžāĻŽāĻ°ā§āĻļāĻĻāĻžāϤāĻžāĻĻ⧇āϰ āϜāĻ¨ā§āϝ āωāĻĒāϝ⧁āĻ•ā§āϤ
āϏ⧇āĻŦāĻž āχāύāĻ­āϝāĻŧ⧇āϏ
āϏ⧇āĻŦāĻž āĻŦā§āϝāĻŦāϏāĻž
āĻ āĻŋāĻ•āĻžāĻĻāĻžāϰ, āĻāĻœā§‡āĻ¨ā§āϏāĻŋ, āϏ⧇āĻŦāĻž āĻĒā§āϰāĻĻāĻžāύāĻ•āĻžāϰ⧀āĻĻ⧇āϰ āϜāĻ¨ā§āϝ
āĻĒāĻŖā§āϝ āχāύāĻ­āϝāĻŧ⧇āϏ
āĻĒāĻŖā§āϝ āĻŦāĻŋāĻ•ā§āϰāϝāĻŧ
āϖ⧁āϚāϰāĻž āĻŦāĻŋāĻ•ā§āϰāϝāĻŧ, āχ-āĻ•āĻŽāĻžāĻ°ā§āϏ, āϭ⧌āϤ āĻĒāĻŖā§āϝ
āĻĒāϰāĻžāĻŽāĻ°ā§āĻļ āϚāĻžāϞāĻžāύ
āĻĒāϰāĻžāĻŽāĻ°ā§āĻļ āϏ⧇āĻŦāĻž
āϘāĻŖā§āϟāĻžāĻ­āĻŋāĻ¤ā§āϤāĻŋāĻ• āĻŦāĻŋāϞāĻŋāĻ‚, āĻĒ⧇āĻļāĻžāĻĻāĻžāϰ āϏ⧇āĻŦāĻž

đŸ’ŧ āĻŦā§āϝāĻŦāϏāĻžāϝāĻŧāĻŋāĻ• āĻ­ā§āϰāĻŽāϪ⧇āϰ āĻĒāϰāĻŋāĻ•āĻ˛ā§āĻĒāύāĻž?

āĻŦāĻŋāĻļā§āĻŦāĻŦā§āϝāĻžāĻĒā§€ āĻŦā§āϝāĻŦāϏāĻžāϝāĻŧāĻŋāĻ• āĻšā§‹āĻŸā§‡āϞ, āĻĢā§āϞāĻžāχāϟ āĻāĻŦāĻ‚ āĻŽāĻŋāϟāĻŋāĻ‚ āϭ⧇āĻ¨ā§āϝ⧁āϤ⧇ āϏ⧇āϰāĻž āĻ…āĻĢāĻžāϰ āϖ⧁āρāϜ⧁āύ

đŸ’ŧ Smart Business Infrastructure: WIA Code 📍

āĻŦāĻŋāĻļā§āĻŦāĻŦā§āϝāĻžāĻĒā§€ āĻŦāĻžāĻŖāĻŋāĻœā§āϝ, āϞāϜāĻŋāĻ¸ā§āϟāĻŋāĻ•āϏ āĻ…āĻŸā§‹āĻŽā§‡āĻļāύ āĻāĻŦāĻ‚ āĻ¸ā§āĻŽāĻžāĻ°ā§āϟ āϏāĻŋāϟāĻŋ āχāĻ¨ā§āϟāĻŋāĻ—ā§āϰ⧇āĻļāύ⧇āϰ āϜāĻ¨ā§āϝ āύāĻŋāĻ°ā§āϭ⧁āϞ āĻŦā§āϝāĻŦāϏāĻžāϝāĻŧāĻŋāĻ• āĻ āĻŋāĻ•āĻžāύāĻž - āφāĻĒāύāĻžāϰ āĻĻ⧇āĻļ⧇āϰ āϜāĻ¨ā§āϝ ā§Šā§Ļ āĻĻāĻŋāύ āϏāĻŽā§āĻĒā§‚āĻ°ā§āĻŖ āĻŦāĻŋāύāĻžāĻŽā§‚āĻ˛ā§āϝ⧇ āĻ­āĻŦāĻŋāĻˇā§āϝāϤ⧇āϰ āĻ…āĻ­āĻŋāĻœā§āĻžāϤāĻž āύāĻŋāύ!

āĻĄāĻŦā§āϞāĻŋāωāφāχāĻ āϕ⧋āĻĄ āϏāĻŽā§āĻĒāĻ°ā§āϕ⧇ āφāϰāĻ“ āϜāĻžāύ⧁āύ

🤖 āφāĻĒāύāĻžāϰ āĻāφāχ āϏāĻšāĻ•āĻžāϰ⧀ āĻŦ⧇āϛ⧇ āύāĻŋāύ

đŸ’Ŧ āĻšā§āϝāĻžāϟāϜāĻŋāĻĒāĻŋāϟāĻŋ
āϏāĻ°ā§āĻŦāĻžāϧāĻŋāĻ• āĻŦāĻšā§āĻŽā§āĻ–ā§€ â€ĸ āϏāĻžāϧāĻžāϰāĻŖ āĻ•āĻžāĻœā§‡āϰ āϜāĻ¨ā§āϝ āϏ⧇āϰāĻž
🧠 āĻ•ā§āϞāĻĄ
āϏ⧇āϰāĻž āϝ⧁āĻ•ā§āϤāĻŋ āĻĒā§āϰāĻĻāĻžāύ â€ĸ āĻŦāĻŋāĻļā§āϞ⧇āώāϪ⧇āϰ āϜāĻ¨ā§āϝ āύāĻŋāϖ⧁āρāϤ
✨ āĻœā§‡āĻŽāĻŋāύāĻŋ āĻŦāĻŋāύāĻžāĻŽā§‚āĻ˛ā§āϝ⧇
āĻĻ⧈āύāĻŋāĻ• āϏ⧀āĻŽāĻžāĻŦāĻĻā§āϧ āĻŦā§āϝāĻŦāĻšāĻžāϰ â€ĸ āĻ…āĻ¨ā§āϤāĻ°ā§āύāĻŋāĻ°ā§āĻŽāĻŋāϤ āĻšā§āϝāĻžāϟ
`); printWindow.document.close(); printWindow.print(); trackEvent('invoice_printed'); } // Utility functions function showNotification(message, type = 'success') { const toast = document.createElement('div'); toast.className = `toast ${type}`; toast.textContent = message; document.body.appendChild(toast); setTimeout(() => { toast.remove(); }, 3000); } function showOTA() { const otaContainer = document.getElementById('otaContainer'); if (otaContainer && (otaContainer.style.display === 'none' || !otaContainer.style.display)) { otaContainer.style.display = 'block'; setTimeout(() => { const otaHeader = document.querySelector('.ota-header h3'); if (otaHeader) { otaHeader.style.animation = 'pulse 1s ease-in-out'; } }, 100); } } function trackEvent(eventName, data = {}) { if (typeof gtag !== 'undefined') { gtag('event', eventName, { 'event_category': TOOL_CONFIG.category, 'event_label': TOOL_CONFIG.name, ...data }); } } // AI Assistant Functions function openAIModal() { const modal = document.getElementById('aiModal'); modal.classList.add('show'); if (aiModalState.apiKey && aiModalState.currentView === 'gemini') { showGeminiChat(); } else { showAISelector(); } updateAPIKeyStatus(); } function closeAIModal() { const modal = document.getElementById('aiModal'); modal.classList.remove('show'); setTimeout(() => { aiModalState.currentView = 'selector'; showAISelector(); }, 300); } function showAISelector() { document.getElementById('aiModalTitle').textContent = 'Choose Your AI Assistant'; document.getElementById('aiSelector').style.display = 'flex'; document.getElementById('geminiChat').style.display = 'none'; document.getElementById('apiKeySetup').style.display = 'none'; aiModalState.currentView = 'selector'; } function showGeminiChat() { document.getElementById('aiModalTitle').innerHTML = '✨ Gemini AI Assistant'; document.getElementById('aiSelector').style.display = 'none'; document.getElementById('geminiChat').style.display = 'flex'; document.getElementById('apiKeySetup').style.display = 'none'; aiModalState.currentView = 'gemini'; const chatMessages = document.getElementById('chatMessages'); if (!chatMessages.innerHTML.trim()) { addMessage('assistant', `Hello! I can help you with: â€ĸ Invoice creation and formatting tips â€ĸ Business invoicing best practices â€ĸ Payment terms and legal requirements â€ĸ Tax and accounting advice â€ĸ Professional writing for invoices What would you like to know about invoicing?`); } } function showAPIKeySetup() { document.getElementById('aiModalTitle').textContent = 'āĻœā§‡āĻŽāĻŋāύāĻŋ āĻāĻĒāĻŋāφāχ āϏ⧇āϟāφāĻĒ'; document.getElementById('aiSelector').style.display = 'none'; document.getElementById('geminiChat').style.display = 'none'; document.getElementById('apiKeySetup').style.display = 'block'; aiModalState.currentView = 'setup'; } function selectAI(aiType) { switch(aiType) { case 'chatgpt': const toolContext = `I need help with creating professional invoices and business billing. I'm using an Invoice Generator tool on WIA Code platform.`; const chatUrl = `https://chat.openai.com/?q=${encodeURIComponent(toolContext)}`; window.open(chatUrl, '_blank'); closeAIModal(); trackEvent('ai_selection', { ai_type: 'chatgpt' }); break; case 'claude': const claudeContext = `I need help with creating professional invoices and business billing. I'm using an Invoice Generator tool on WIA Code platform.`; const claudeUrl = `https://claude.ai/chat?q=${encodeURIComponent(claudeContext)}`; window.open(claudeUrl, '_blank'); closeAIModal(); trackEvent('ai_selection', { ai_type: 'claude' }); break; case 'gemini': if (!aiModalState.apiKey) { showAPIKeySetup(); } else { showGeminiChat(); } trackEvent('ai_selection', { ai_type: 'gemini' }); break; } } function saveGeminiApiKey() { const apiKey = document.getElementById('geminiApiKeyInput').value.trim(); if (apiKey) { localStorage.setItem('geminiApiKey', apiKey); aiModalState.apiKey = apiKey; showGeminiChat(); updateAPIKeyStatus(); } else { alert('āĻāĻ•āϟāĻŋ āĻŦ⧈āϧ āĻāĻĒāĻŋāφāχ āϕ⧀ āĻĒā§āϰāĻŦ⧇āĻļ āĻ•āϰāĻžāύ'); } } function updateAPIKeyStatus() { const statusEl = document.getElementById('apiKeyStatus'); if (aiModalState.apiKey) { statusEl.innerHTML = 'āĻāĻĒāĻŋāφāχ āϕ⧀ āĻĒāϰāĻŋāĻŦāĻ°ā§āϤāύ āĻ•āϰ⧁āύ'; } else { statusEl.textContent = 'āϕ⧋āύ āĻāĻĒāĻŋāφāχ āϕ⧀ āϏ⧇āϟ āĻ•āϰāĻž āύ⧇āχ'; } } function addMessage(type, content) { const chatMessages = document.getElementById('chatMessages'); const messageDiv = document.createElement('div'); messageDiv.className = `message ${type}`; if (type === 'user') { messageDiv.innerHTML = `You: ${content}`; } else { messageDiv.innerHTML = `✨ Gemini:
${content.replace(/\n/g, '
')}`; } chatMessages.appendChild(messageDiv); chatMessages.scrollTop = chatMessages.scrollHeight; } async function sendToGemini() { const input = document.getElementById('geminiInput'); const message = input.value.trim(); if (!message) return; addMessage('user', message); input.value = ''; const loadingMsg = document.createElement('div'); loadingMsg.className = 'message assistant'; loadingMsg.innerHTML = '✨ Gemini:
Thinking...'; loadingMsg.id = 'loading-message'; document.getElementById('chatMessages').appendChild(loadingMsg); try { const response = await fetch(`https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=${aiModalState.apiKey}`, { method: 'āĻĒā§‹āĻ¸ā§āϟ', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ contents: [{ parts: [{ text: `Context: User is using Invoice Generator tool on WIA Code platform. Current invoice: Company "${document.getElementById('companyName').value}", Client "${document.getElementById('clientName').value}" User question: ${message}` }] }], generationConfig: { temperature: 0.7, maxOutputTokens: 1000 } }) }); const data = await response.json(); document.getElementById('loading-message').remove(); if (data.candidates && data.candidates[0] && data.candidates[0].content) { const reply = data.candidates[0].content.parts[0].text; addMessage('assistant', reply); } else { addMessage('assistant', 'Sorry, I could not generate a response. Please try again.'); } } catch (error) { document.getElementById('loading-message')?.remove(); if (error.message.includes('āĻāĻĒāĻŋāφāχ āϕ⧀')) { addMessage('error', 'Invalid API key. Please check your API key and try again.'); showAPIKeySetup(); } else { addMessage('error', 'Failed to connect to Gemini. Please check your internet connection and try again.'); } } } // Dynamic tool count async function updateToolCount() { try { const response = await fetch('/api/tool-count.php'); const data = await response.json(); document.querySelectorAll('.dynamic-tools-count').forEach(el => { el.textContent = `${data.count}+ free online tools in 206 languages. No signup, no fees, just tools that work.`; }); document.querySelectorAll('.dynamic-count').forEach(el => { const prefix = el.getAttribute('data-text') || ''; const suffix = el.getAttribute('data-suffix') || ''; const icon = el.textContent.split(' ')[0] || ''; el.textContent = `${icon} ${prefix} ${data.count}+ ${suffix}`; }); } catch (error) { const fallbackCount = 333; document.querySelectorAll('.dynamic-tools-count').forEach(el => { el.textContent = `${fallbackCount}+ free online tools in 206 languages. No signup, no fees, just tools that work.`; }); document.querySelectorAll('.dynamic-count').forEach(el => { const prefix = el.getAttribute('data-text') || ''; const suffix = el.getAttribute('data-suffix') || ''; const icon = el.textContent.split(' ')[0] || ''; el.textContent = `${icon} ${prefix} ${fallbackCount}+ ${suffix}`; }); } } function updateCurrentYear() { const currentYear = new Date().getFullYear(); document.querySelectorAll('.current-year').forEach(el => { el.textContent = currentYear; }); } // Analytics window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXXXX'); trackEvent('page_view', { tool: TOOL_CONFIG.name, category: TOOL_CONFIG.category });