Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
eis
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 415e7162
authored
Dec 29, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: update year formatting for payment dates in pcpd view
1 parent
2b95a1a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
eispajak/views/pcpd.py
eispajak/views/pcpd.py
View file @
415e716
...
...
@@ -353,7 +353,7 @@ class Views(BaseView):
today
.
strftime
(
"
%
Y-
%
m-
%
d"
),
filter_exp
)
# Total Tahunan
field
=
func
.
to_char
(
PaymentBPHTB
.
tgl
,
'
I
YYY'
)
field
=
func
.
to_char
(
PaymentBPHTB
.
tgl
,
'
Y
YYY'
)
filter_exp
=
PaymentBPHTB
.
tgl
.
between
(
datetime
.
strptime
(
f
"{today.year}-01-01"
,
"
%
Y-
%
m-
%
d"
),
today
)
ytd
,
ytdTrx
,
yearly
,
yearlyTrx
,
yearlyAcc
,
yearlyAccTrx
=
\
...
...
@@ -412,7 +412,7 @@ class Views(BaseView):
today
.
strftime
(
"
%
Y-
%
m-
%
d"
),
filter_exp
,
typ
)
# Total Tahun Berjalan
field
=
func
.
to_char
(
PaymentPAD
.
tgl
,
'
I
YYY'
)
field
=
func
.
to_char
(
PaymentPAD
.
tgl
,
'
Y
YYY'
)
filter_exp
=
PaymentPAD
.
tgl
.
between
(
datetime
.
strptime
(
f
"{today.year}-01-01"
,
"
%
Y-
%
m-
%
d"
),
today
)
ytd
,
ytdTrx
,
yearly
,
yearlyTrx
,
yearlyAcc
,
yearlyAccTrx
=
\
...
...
@@ -472,7 +472,7 @@ class Views(BaseView):
today
.
strftime
(
"
%
Y-
%
m-
%
d"
),
filter_exp
)
# Tahunan
field
=
func
.
to_char
(
PaymentWEBR
.
tgl
,
'
I
YYY'
)
field
=
func
.
to_char
(
PaymentWEBR
.
tgl
,
'
Y
YYY'
)
filter_exp
=
PaymentWEBR
.
tgl
.
between
(
datetime
.
strptime
(
f
"{today.year}-01-01"
,
"
%
Y-
%
m-
%
d"
),
today
)
ytd
,
ytdTrx
,
yearly
,
yearlyTrx
,
yearlyAcc
,
yearlyAccTrx
=
\
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment