ifnex/04_Laravel/database/migrations
Kazem Alghasi a1a6dbdd8a feat(core): complete phase 3 integration and enhance country/phone features
This commit marks the completion of Phase 3 (Integration and Improvements) and updates the project status to reflect that Phases 0 through 3 are finished.

Key changes include:
- **Laravel (Backend):**
  - Added `calling_code` column to `countries` table via new migration.
  - Added scripts to update calling codes for all countries.
  - Updated `CustomerOrderController` to include `calling_code` in country data.
  - Registered `api_key` middleware alias in `bootstrap/app.php`.
  - Improved error handling to return JSON 401 for API authentication failures.
  - Updated `README.md` with detailed architecture and feature descriptions.
- **WordPress (Frontend/Bridge):**
  - Added `ifnex_wallet_charge` shortcode and AJAX handler for wallet top-ups.
  - Implemented auto-fill for calling codes in the order form based on selected country.
  - Added real-time phone number validation (digits, +, spaces only).
  - Added English-only validation for name, city, and address fields with UI warnings.
  - Updated asset enqueuing logic and versioning for CSS/JS.
- **Documentation:**
  - Updated `IFNEX_File_Map.md`, `IFNEX_Phase0_Checklist.md`, and `IFNEX_Roadmap.md` to reflect completed phases and new features.
  - Updated `DEPLOYMENT.md` with new environment variables (`IFNEX_BRIDGE_API_KEY`) and required WordPress pages.
  - Updated project `README.md` with comprehensive feature list and system architecture.
2026-08-29 04:38:28 +03:30
..
0001_01_01_000000_create_users_table.php feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
0001_01_01_000001_create_cache_table.php feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
0001_01_01_000002_create_jobs_table.php feat: Complete Phase 1 core logic and WP bridge setup 2026-08-01 04:01:22 +03:30
2026_08_02_000001_create_countries_table.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
2026_08_02_000002_create_shipments_table.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
2026_08_02_000003_create_shipping_rates_table.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
2026_08_02_000004_create_shipment_carrier_mappings_table.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
2026_08_02_000005_create_shipment_tracking_events_table.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
2026_08_02_000006_create_system_settings_table.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
2026_08_02_000007_update_users_table.php ۱۰ مورد کامل شد (دیتابیس، مدل‌ها، API، Filament، Laravel 11، رفع باگ‌ها) 2026-08-04 01:59:08 +03:30
2026_08_05_135016_create_wallets_table.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
2026_08_05_135022_create_wallet_transactions_table.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
2026_08_05_135026_create_discount_codes_table.php feat(finance): implement Filament admin panel and expand wallet/discount features 2026-08-08 03:15:51 +03:30
2026_08_05_140000_create_payments_table.php feat(api): implement payment gateway integration 2026-08-05 23:49:33 +03:30
2026_08_07_000001_create_wallet_activity_logs_table.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
2026_08_07_033748_create_personal_access_tokens_table.php feat(wallet): complete wallet system with admin adjust, freeze/unfreeze, activity logs 2026-08-07 22:51:42 +03:30
2026_08_08_000001_create_shipment_items_table.php feat(laravel): implement user synchronization and shipment schema 2026-08-08 04:58:01 +03:30
2026_08_08_000001_fix_discount_codes_type_enum.php feat(laravel): implement user synchronization and shipment schema 2026-08-08 04:58:01 +03:30
2026_08_09_012526_create_notifications_table.php feat(admin): configure filament panel with custom branding and notifications 2026-08-09 05:14:36 +03:30
2026_08_09_220409_create_permission_tables.php feat(auth): implement role-based access control using spatie/laravel-permission 2026-08-10 02:44:23 +03:30
2026_08_09_231738_create_exchange_rate_history_table.php feat(exchange): implement exchange rate history tracking 2026-08-10 03:04:18 +03:30
2026_08_10_020410_update_shipments_status_enum.php feat: Complete customer ordering system (Phase 3) 2026-08-10 06:09:56 +03:30
2026_08_10_080853_add_wallet_to_payment_gateway_enum.php feat: Complete customer ordering and payment system (Phases 1-4) 2026-08-10 13:08:52 +03:30
2026_08_10_082121_add_system_to_tracking_source_enum.php feat: Complete customer ordering and payment system (Phases 1-4) 2026-08-10 13:08:52 +03:30
2026_08_24_000001_add_missing_fields_to_shipments_table.php feat(shipment): expand schema and enhance PDF generation 2026-08-23 22:31:58 +03:30
2026_08_24_100001_create_currencies_table.php feat(admin): implement currency management and rate import system 2026-08-24 01:18:34 +03:30
2026_08_24_200001_create_shipment_packages_table.php feat(shipment): add multi-package support and AWB integration 2026-08-24 01:47:45 +03:30
2026_08_24_300001_create_shipment_status_histories_table.php feat(shipment): implement status history tracking and rate import improvements 2026-08-24 03:40:13 +03:30
2026_08_28_233839_add_calling_code_to_countries_table.php feat(core): complete phase 3 integration and enhance country/phone features 2026-08-29 04:38:28 +03:30