Commit Graph

12 Commits

Author SHA1 Message Date
4d0f9b6309 uppercese category qoshildi 2026-04-06 20:23:17 +05:00
50e0f1b8ef Generate QR code on order create; implement reGenerate route
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 16:30:55 +05:00
4d5098a921 Add File model with getFileSizeInMB; pass sizeInStorage to show-documents
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 16:23:16 +05:00
fee24d1bce Implement store and update for auto and estate orders
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 16:18:53 +05:00
ecaf8790dc Fix multiple undefined variable errors across pages
- show-documents: add $type, $countDocs, $countMediaFiles, $otherFiles, paginate files
- show-team + show: JOIN users to order_members for name/avatar/phone
- BonusController: load appraiser and order per bonus row
- ProfileController: fix wrong view names (index→profile, show-*→activities/projects/documents)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 15:11:24 +05:00
c363c76f31 Add conclusions variable to auto and estate show pages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 06:59:21 +05:00
e68efae28a Fix create/edit pages missing vars; add storage:link entrypoint
- AutoController create/edit: add purposeCases, dillers
- EstateController create/edit: add purposeCases, districts, dillers
- Add entrypoint.sh to run storage:link on container start

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 06:32:13 +05:00
8c381ba1ee Fix show pages: add diller, regions, districts to order object
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 06:11:38 +05:00
6c985c1b29 Fix DB schema mismatches from backup import
- purpose/concern/region/district tables use uz/ru/cr instead of name
- auto_orders/estate_orders use purpose_id not purpose
- Add ownerName/owner computed fields from owner_first/last_name
- Fix appraiserChart to use order_members instead of appraiser_id
- Fix DebitController to join appraiser and order relations
- Fix role queries to be case-insensitive (DB has mixed case)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 06:05:09 +05:00
446736202c Fix customer property: add ordered_customer as customer alias in queries
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 05:50:13 +05:00
73b0041643 Fix all page controllers and missing enums
- Update all controllers to pass required variables to views
- Add MediaTypeEnum, OrderTypeEnum, TrackingActionTypeEnum enums
- Fix RoleEnum, OrderStatusEnum completeness

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 05:48:11 +05:00
c193bbc32a Add missing app files and fix Docker configuration
- Add all PHP app files (controllers, middleware, providers, models, enums)
  that were previously gitignored via app/.gitignore wildcard
- Fix app/.gitignore to no longer ignore all files
- Fix docker-compose.yml: use named volume for postgres to avoid chown permission errors on server
- Fix Dockerfile: use --classmap-authoritative for composer dump-autoload

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 05:11:39 +05:00