==========================================
JOBS PORTAL UPDATE PACKAGE
==========================================

This folder contains all updated files for the latest JobsPortal update.

==========================================
HOW TO USE THIS UPDATE
==========================================

1. BACKUP YOUR SITE FIRST!
   - Backup your database
   - Backup all your files

2. COPY FILES TO YOUR SITE
   - Copy all files from this Update folder
   - Maintain the folder structure
   - Overwrite existing files when prompted

3. RUN DATABASE UPDATE
   - Open UPDATE_DATABASE.sql in phpMyAdmin
   - Select your database
   - Execute the SQL queries
   - Or run individual SQL files if preferred

4. CLEAR CACHE
   - Run: php artisan cache:clear
   - Run: php artisan config:clear
   - Run: php artisan route:clear
   - Run: php artisan view:clear

5. VERIFY
   - Check admin panel
   - Check company panel
   - Check jobseeker panel

==========================================
FOLDER STRUCTURE
==========================================

app/
  Http/Controllers/
    Admin/
      - CompanyController.php
      - PackageController.php
      - SiteSettingController.php
    Company/
      - CompanyController.php
    - OrderController.php
  Providers/
    - CustomConfigServiceProvider.php
  - UnlockedUserStatus.php (NEW)

resources/views/
  admin/
    company/
      - index.blade.php
      - unlocked_candidates.blade.php (NEW)
    package/forms/
      - form.blade.php
    site_setting/forms/
      - paymentGatewaysSetting_form.blade.php
  company/
    - unlocked_users.blade.php
  includes/
    - user_dashboard_menu.blade.php
  - company_home.blade.php
  - company_resume_search_packages.blade.php
  - home.blade.php

routes/
  admin_routes/
    - company.php
  front_routes/
    - company.php

public/css/
  - main.css.patch (CSS changes to add)

==========================================
DATABASE FILES
==========================================

- UPDATE_DATABASE.sql (Run this - contains all updates)
- ADD_FREE_CV_PACKAGE_TRACKING.sql (Individual file)
- ADD_UNLOCKED_USER_STATUS_TABLE.sql (Individual file)
- ADD_FEATURED_PACKAGE_ACTIVE_JOBSEEKER.sql (Individual file)

==========================================
DOCUMENTATION
==========================================

- UPDATE_GUIDE.md (Complete update guide)
- QUICK_UPDATE_INSTRUCTIONS.txt (Quick reference)
- FILES_TO_UPDATE.txt (List of all files)

==========================================
IMPORTANT NOTES
==========================================

1. CSS Changes:
   - Open public/css/main.css
   - Add the styles from main.css.patch
   - Or manually add the #unlocked styles

2. New Files:
   - app/UnlockedUserStatus.php (NEW - must be added)
   - resources/views/admin/company/unlocked_candidates.blade.php (NEW)

3. Database:
   - All SQL files are safe to run multiple times
   - They check if columns/tables exist before creating

==========================================
SUPPORT
==========================================

Email: sharjil.hz@gmail.com

For detailed instructions, see UPDATE_GUIDE.md

==========================================

