Skip to content

Convert currency to Indian Rupees (₹) and fix offline startup crash#1

Open
Diishhaa wants to merge 1 commit into
Dev-angPatil:mainfrom
Diishhaa:feat/rupee-conversion
Open

Convert currency to Indian Rupees (₹) and fix offline startup crash#1
Diishhaa wants to merge 1 commit into
Dev-angPatil:mainfrom
Diishhaa:feat/rupee-conversion

Conversation

@Diishhaa

Copy link
Copy Markdown

This Pull Request implements the following improvements:

  1. Rupee (₹) Currency Conversion:

    • Converted the currency formatting function across Dashboard.jsx, Invoices.jsx, and MonthlyCardDeck.jsx to use Indian Rupees (/INR) and Indian locale formatting (en-IN).
    • Replaced all dollar sign references ($) in form placeholders, settings page inputs (App.jsx), simulation trigger buttons, and logging messages in the Simulator.jsx and AgentChat.jsx components.
    • Updated the ReAct agent runner and regex parsers (agentRunner.js and accountant.js) to support Rupee matching.
    • Adjusted the tax label indicators from "VAT" to "GST".
  2. Offline/Local-Only Start Fix:

    • Updated supabaseClient.js to only initialize the Supabase client when VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY are provided. Otherwise, it exports null without throwing a startup error, enabling the app to run in local simulation/sandbox mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant