Skip to content

fix: add missing PaymentMode and Taxes models and remove undefined routes#1458

Open
tushar-pandhare wants to merge 5 commits into
salahlalami:devfrom
tushar-pandhare:fix/missing-paymentmode-taxes-models
Open

fix: add missing PaymentMode and Taxes models and remove undefined routes#1458
tushar-pandhare wants to merge 5 commits into
salahlalami:devfrom
tushar-pandhare:fix/missing-paymentmode-taxes-models

Conversation

@tushar-pandhare

@tushar-pandhare tushar-pandhare commented Jun 4, 2026

Copy link
Copy Markdown

What does this PR do?

Fixes two critical bugs that prevent fresh installation
from working correctly.

Bug 1 - Missing Models (Fixes #1456 )

npm run setup fails with MODULE_NOT_FOUND because
PaymentMode.js and Taxes.js models are missing from codebase.

Fix: Added both missing model files.

Bug 2 - Undefined Routes (Fixes #1457 )

App crashes on startup because routes.jsx references
6 page components that don't exist:
Quote, QuoteCreate, QuoteRead, QuoteUpdate, PaymentMode, Taxes

Fix: Removed undefined imports and routes.

Files Changed

  • backend/src/models/appModels/PaymentMode.js ← new file
  • backend/src/models/appModels/Taxes.js ← new file
  • frontend/src/router/routes.jsx ← removed undefined routes

How to Test

  1. Fresh clone
  2. cd backend && npm install && npm run setup
  3. Should complete with 🥳 Setup completed :Success!
  4. cd frontend && npm install && npm run dev
  5. App should load without crashes

Fixes #1456
Fixes #1457

salahlalami and others added 5 commits March 16, 2026 18:09
Removed duplicate reporting process for vulnerabilities via Huntr.dev.
Updated the link for the self-hosted enterprise version in the README.
Updated the link for the self-hosted enterprise version of IDURAR.
…utes

- Added missing PaymentMode.js model required by setup.js
- Added missing Taxes.js model required by setup.js
- Removed undefined Quote, PaymentMode, Taxes route imports
  that caused app crash on fresh install

Fixes salahlalami#1456
Fixes salahlalami#1457
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.

2 participants