Fix logger variable name and add 'pokok' to the context in Views class

1 parent 48b2ac63
......@@ -13,7 +13,7 @@ from opensipkd.pbb.monitoring.models import PembayaranSppt, Kecamatan, Kelurahan
from datetime import timedelta
from ..models.payment import PCDBSession
logger = logging.getLogger(__name__)
log = logging.getLogger(__name__)
PAD_TYP = {
"hotel": ["PBJT - JASA PERHOTELAN"],
......@@ -271,6 +271,7 @@ class Views(BaseView):
"dailyAcc": dailyAcc,
"dailyAccTrx": dailyAccTrx,
"ytd": ytd,
"pokok": ytd-piutang,
"piutang": piutang,
"piutangTrx": piutangTrx,
"trxYtd": ytdTrx,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!