Proje: Okul Platform · Hub: Okul Platform — Domain
Özellik (OKUL-766, commit b5af71e5, 2026-04-15)
Okul sahiplerine aylık istatistik raporları Customer.io üzerinden gönderilir.
Yeni Bileşenler
Artisan Command
App\Integrations\CustomerIO\Commands\B2B\SendSchoolStatisticCommand — Manuel veya zamanlanmış çalıştırma.
DTO’lar
SendSchoolStatisticDTO— Gönderim parametreleriCustomerIO\B2B\SchoolMonthlyStatsDTO— CIO’ya gönderilecek veri formatıFilterSchoolStatisticDTO— Filtre parametreleri
Servisler
B2BSchoolStatisticsService(155 satır) — İstatistik toplama ve hazırlamaB2BEventService— CIO event gönderimiSchoolMonthlyStatsevent — CIO B2B event
Controller
Admin\Customer\SchoolStatisticController — Manuel tetikleme endpoint’i
POST /api/admin/customers/send-school-statistic (route admin.php’ye eklendi)
Repositories
SchoolStatisticRepository— Okul istatistik verisiSchoolContentRepository— Okul içerik istatistikleri- Güncellemeler:
LeadRepository,SchoolDailyLogRepository
is_key_account Alanı
Son commit’te eklendi — Kilit hesap mı? İstatistiklerde özel işlem için.
Related
- api-key-integrations — CustomerIO B2B entegrasyonu
- api-analytics-scoring — İstatistik sistemi
- api-queue-jobs — Komut çalıştırma