fix some bugs from accounting 8

This commit is contained in:
2026-07-28 21:01:42 +03:30
parent 09716054ce
commit 736d0a4fd1
5 changed files with 9 additions and 5 deletions
@@ -15,7 +15,7 @@ class AppNotificationController extends Controller
{
private function assertFeatureEnabled(): void
{
if (! app(ConfigService::class)->getBool('has_page_notification', false)) {
if (! app(ConfigService::class)->getBool('has_page_notification', true)) {
throw new NotFoundHttpException('اعلان داخل اپ غیرفعال است.');
}
}