feat(billing): ensure finalized invoice for confirmed appointments with payments

This commit is contained in:
hamed
2026-08-10 11:10:37 +03:30
parent 505ab412a3
commit 8a18457751
4 changed files with 170 additions and 1 deletions
+2
View File
@@ -67,6 +67,7 @@ class ApiLeastPrivilegeTest extends ApiTestCase
'app_settlement_settlement_balance' => 'کیف پول خودِ کاربر',
'app_settlement_settlement_transactions' => 'تراکنش‌های کیف پول خودِ کاربر',
'app_settlement_settlement_listmine' => 'تسویه‌های خودِ کاربر',
'app_userprofile_tourprogress_seen' => 'راهنماهای دیده‌شدهٔ خودِ کاربر',
'app_dashboard_dashboard_secretary' => 'محیط و مجوزهای خودِ منشی — ورودی رندر پنل',
// رفتار مستند: بدون مجوز فقط قابلیت‌های پلن می‌آید، نه وضعیت/تاریخ اشتراک.
// تستش در SecretaryResourceEnforcementTest::testSubscriptionWithoutPermissionReturnsFeaturesOnly
@@ -127,6 +128,7 @@ class ApiLeastPrivilegeTest extends ApiTestCase
'app_userprofile_userprofile_create' => 'پروفایل خودِ کاربر',
'app_userprofile_userprofile_update' => 'پروفایل خودِ کاربر',
'app_userprofile_userprofile_uploadavatar' => 'آواتار خودِ کاربر',
'app_userprofile_tourprogress_markseen' => 'ثبت دیده‌شدن راهنما برای خودِ کاربر',
'app_settlement_settlement_request' => 'تسویهٔ کیف‌پول خودِ کاربر',
'app_secretary_secretary_addiban' => 'شبای خودِ منشی',
'app_secretary_secretary_removeiban' => 'شبای خودِ منشی',