JAN Enterprises ERP V2 — No-Terminal cPanel Upgrade

This package was built from your uploaded existing JAN Enterprises PHP/MySQL source code. It is designed to upgrade that application in place without SSH, Terminal, Composer or Artisan.

Before you start: back up both the website files and the MySQL database from cPanel/phpMyAdmin.

1. Website path

Use the domain document root:

/home2/doctorlabs/public_html/jan.doctorlabs.in

2. Upload

  1. Open cPanel → File Manager.
  2. Open /home2/doctorlabs/public_html/jan.doctorlabs.in.
  3. Upload JAN_Enterprises_ERP_V2_FINAL_cPanel.zip into that folder.
  4. Extract it in that same folder.
  5. Choose overwrite/replace when cPanel asks. The ZIP intentionally does not contain includes/config.php, so your live DB credentials remain untouched.

3. Run the browser database upgrade

  1. Log in to the existing application as Admin.
  2. Open https://jan.doctorlabs.in/upgrade_v2.php.
  3. Click Run ERP V2 Upgrade.
  4. The upgrader preserves the old orders table, creates the ERP tables, formal agreements and users, and migrates historical order groups into multi-line Sales Orders.
The migration is designed to be repeat-safe: existing V2 tables/columns are detected and historical groups already migrated are not duplicated.

4. Log out and back in

After the upgrade, log out and log back in once. This moves your session to the new database-backed user account. Your existing Admin username/password are used to create the first database Admin user.

5. Configure billing

Open Settings and enter JAN Enterprises legal name, GSTIN, registered address, state/state code, phone/email, bank details, invoice prefix, GST defaults, invoice terms and warranty terms. Confirm GST rates and HSN classification with your accountant before issuing a production tax invoice.

6. Verify the business data

Check Companies, Agreements, Asset & Price Master and Sales Orders. Historical data remains available and is also migrated into V2 Sales Orders for the new dashboard/reports.

7. Test the complete workflow

Company → Agreement → Price → Sales Order → Delivery Challan → Tax Invoice → Payment → Receipt

Create one small test order and invoice before using it for production.

8. Reminder automation (optional)

In cPanel → Cron Jobs, create a daily cron using:

php /home2/doctorlabs/public_html/jan.doctorlabs.in/cron/erp_reminders.php

This checks active-order payout dates, invoice due dates and annual agreement expiry. Email recipients and reminder days are configured in ERP Settings. WhatsApp remains optional through the existing Twilio configuration.

Included V2 modules