ifnex/04_Laravel/database/migrations
Kazem Alghasi 02c29db696 feat(core): implement order approval flow, credit system, and import invoicing
Introduce a comprehensive set of commercial features including a multi-step
order approval workflow, customer credit management, and specialized
import service invoicing.

Key changes:
- Implement `pending_approval` and `approved` shipment statuses to allow
  staff verification before customer payment.
- Add a credit system to `User` model with `credit_limit` and `credit_used`
  to manage customer balances and debts.
- Develop a new `importInvoice` PDF generation service following the
  "Sheet ENG Invoice" specification for import services.
- Add Filament resources for managing Audit Logs, Commitment Forms,
  Customer Credits, and Shipment Checklists.
- Implement staff-specific APIs for order approval/rejection and
  customer financial status monitoring.
- Integrate Kavenegar SMS service for mobile verification and notifications.
- Add bulk tracking import functionality via CSV/Excel.
- Update WordPress bridge assets (CSS/JS) to support the new multi-step
  order form UI and updated redirection logic.
- Update deployment configurations and documentation to reflect new
  production domains and feature sets.
2026-09-03 06:04:20 +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
2026_08_29_021506_fix_shipment_items_table.php - Add picqer/php-barcode-generator dependency 2026-08-29 06:40:08 +03:30
2026_08_29_021631_make_name_nullable_in_shipment_items.php - Add picqer/php-barcode-generator dependency 2026-08-29 06:40:08 +03:30
2026_09_03_000001_add_approval_statuses_to_shipments_table.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
2026_09_03_000002_create_commitment_forms_table.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
2026_09_03_000003_add_credit_fields_to_users_table.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
2026_09_03_000004_create_shipment_checklists_table.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
2026_09_03_000005_create_audit_logs_table.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30
2026_09_03_000006_add_import_invoice_fields_to_shipments_table.php feat(core): implement order approval flow, credit system, and import invoicing 2026-09-03 06:04:20 +03:30