fix(settings): fee only from fee_service_charge_percentage; deploy:tenant

Remove service_charge_percentage alias and config/fee.php fallback (empty → 0).
Move code-managed Montzar/price runtime keys to can_edit=1 in deploy SQL.
Add settings:deploy and deploy:tenant artisan commands for server deploy.
Advanced admin settings merge runtime keys from local DB; block manual edits.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 19:55:29 +03:30
co-authored by Cursor
parent 5b2ed2e5fc
commit 027170a33f
12 changed files with 353 additions and 142 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# migrate + deploy_settings_const.sql — یک دستور از ریشهٔ khaneghi_server
#
# bash database/sql/run_deploy_tenant.sh
# php artisan deploy:tenant
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
cd "$ROOT"
exec php artisan deploy:tenant "$@"