Sayfa: Toplu borçlandırma (``)
| URL | https://www.byonetim.com.tr/temiz/ |
| View | topluborclandirma/toplu_debt_page_view.php → topluborclandirma/1_all_dept.php |
| Liste | topluborclandirma/2_all_dept_list.php (gömülü) |
| Menü | Gelirlerim ▼ → Toplu borçlandırma |
| Kabuk | _shell.md |
Amaç
Tüm dairelere aidat, demirbaş, ısınma, elektrik, su vb. toplu borç yazmak; geçmiş toplu işlemleri listelemek; silme / detay; sayaçlı dağıtım (elektrik/su/ısınma).
Tek daire (liste dişlisi): properties/form-borclandir-daire.md — aynı borç türleri, form_dept_new_sweet + 3_dept_create_swal.php.
Fatura borçlandırma yetkisinde (PANEL_FATURA_BORC_ONLY) sidebar yalnızca bu sayfayı gösterir.
Render modu
İlk yükleme SSR: 1_all_dept.php binadaki bağımsız bölümleri ve listeyi PHP ile hazırlar. İlk network’te liste JSON API’si yok.
İlk yükleme — API (network)
Yalnızca kabuk:
| Endpoint | Amaç |
|---|---|
GET api/abonelik_uyari.php |
Kabuk |
GET api/menu_siralama.php?action=yukle |
Kabuk |
Sayfaya özel statik
| Tür | Dosya |
|---|---|
| CSS | topluborc.css, pages/all_dept_gelirlerim_toplu.css, components/toplu_tables.css, toplu_borc_notify_countdown.css |
| JS | topluborc.js, toplu_borc_notify_countdown.js |
window.DEBT_ROUTES (view): aidat/demirbaş/ısınma/elektrik/su formları, save → ``, API’ler:
api/toplu_borclandirma_elektrik.phpapi/toplu_borclandirma_su.phpapi/toplu_borclandirma_isinma.php- sayaç:
*_sayac.phpvaryantları - sil:
topluborclandirma/toplu_borclandirma_sil.php
Veri / audit
Kayıtlar borcson tablosuna düşer (toplu_borc_id vb.). Silme/güncelleme finans hareket audit tetikleyicileri ile loglanır.
Etkileşimde (topluborc.js — 2. tur)
| Tip | Örnek |
|---|---|
| Form veri | 3_all_dept_*?get_data=1 |
| Kaydet | POST veya 3_all_dept_fixture.php |
| Sayaç API | toplu_borclandirma_*_sayac.php |
| Fatura bağlantı | api/get_fatura_bilgi.php, giderler/get_expence_details.php |
| Sil | toplu_borclandirma_sil.php |
Detay sayfa: ``.
toplu_debt_page_view.php, 1_all_dept.php, 2_all_dept_list.php, topluborc.js, topluborc.css, includes/logic/panel_fatura_borc_scope.php, ilgili api/toplu_borclandirma_*.php
Müşteri AI
“Gelirlerim altındaki Toplu borçlandırma ile aidat veya ısınma/su/elektrik sayaçlarını dairelere paylaştırırsınız; işlem geçmişi listede görünür.”
Not: Tekil borçlandırma borclandirma/ modülü; bu sayfa toplu akıştır.
