Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Taufik Yulianto
/
esipkd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d9666be3
authored
Jun 29, 2022
by
suri
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
eror pembayaran manual
1 parent
70f576a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
esipkd/views/arsspd.py
esipkd/views/arsspd.py
View file @
d9666be
...
@@ -267,6 +267,8 @@ def save(request, values, row=None):
...
@@ -267,6 +267,8 @@ def save(request, values, row=None):
if
not
row
.
tahun_id
:
if
not
row
.
tahun_id
:
row
.
tahun_id
=
datetime
.
now
()
.
strftime
(
'
%
Y'
)
row
.
tahun_id
=
datetime
.
now
()
.
strftime
(
'
%
Y'
)
##query invoice 27-06-2022
##query invoice 27-06-2022
if
'invoice_no'
not
in
values
:
values
[
'invoice_no'
]
=
values
[
'kode'
]
ref
=
DBSession
.
query
(
ARInvoice
)
.
\
ref
=
DBSession
.
query
(
ARInvoice
)
.
\
filter
(
ARInvoice
.
kode
==
values
[
'invoice_no'
])
.
\
filter
(
ARInvoice
.
kode
==
values
[
'invoice_no'
])
.
\
first
()
first
()
...
...
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