Commit 1f6990b6 by iwan

Bug fixed Kabupaten Kuningan

1 parent ed7e0f9a
from datetime import date
from sqlalchemy import func
from opensipkd.hitung import round_up
from ..models.kuningan import PembayaranSppt
from .cilegon import (
Inquiry as BaseInquiry,
Reversal as BaseReversal,
AvailableInvoice,
)
from .base import get_db_session
AKHIR_DISC = date(2023, 12, 31)
......@@ -17,6 +20,7 @@ class Inquiry(BaseInquiry):
def hitung_pokok(self): # Override
Payment = self.get_payment_model()
DBSession = get_db_session()
q = DBSession.query(
func.sum(Payment.jml_sppt_yg_dibayar).
label('jml_sppt_yg_dibayar'),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!