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 e3a68cf3
authored
Jun 19, 2015
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update esipkd 19-06-2015
1 parent
d665e387
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
11 deletions
esipkd/reports/R0009.jrxml
esipkd/reports/R0010.jrxml
esipkd/views/reports.py
esipkd/reports/R0009.jrxml
View file @
e3a68cf
...
...
@@ -42,7 +42,7 @@
<textElement
textAlignment=
"Center"
>
<font
isBold=
"true"
/>
</textElement>
<text>
<![CDATA[DAFTAR
SUBJEK PAJAK
]]>
</text>
<text>
<![CDATA[DAFTAR
PENYETOR
]]>
</text>
</staticText>
</band>
</title>
...
...
esipkd/reports/R0010.jrxml
View file @
e3a68cf
...
...
@@ -14,14 +14,17 @@
<field
name=
"kode"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[kode]]>
</fieldDescription>
</field>
<field
name=
"no"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[no]]>
</fieldDescription>
</field>
<field
name=
"nama"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[nama]]>
</fieldDescription>
</field>
<field
name=
"
alamat_1
"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[
alamat_1
]]>
</fieldDescription>
<field
name=
"
rekening
"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[
rekening
]]>
</fieldDescription>
</field>
<field
name=
"
alamat_2
"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[
alamat_2
]]>
</fieldDescription>
<field
name=
"
wilayah
"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[
wilayah
]]>
</fieldDescription>
</field>
<field
name=
"status"
class=
"java.lang.String"
>
<fieldDescription>
<![CDATA[status]]>
</fieldDescription>
...
...
@@ -42,7 +45,7 @@
<textElement
textAlignment=
"Center"
>
<font
isBold=
"true"
/>
</textElement>
<text>
<![CDATA[DAFTAR
SUBJEK PAJA
K]]>
</text>
<text>
<![CDATA[DAFTAR
OBJE
K]]>
</text>
</staticText>
</band>
</title>
...
...
@@ -85,7 +88,7 @@
<textElement
textAlignment=
"Center"
>
<font
size=
"8"
isBold=
"true"
/>
</textElement>
<text>
<![CDATA[
Alamat 2
]]>
</text>
<text>
<![CDATA[
Wilayah
]]>
</text>
</staticText>
<staticText>
<reportElement
x=
"441"
y=
"0"
width=
"54"
height=
"12"
/>
...
...
@@ -111,7 +114,7 @@
<textElement
textAlignment=
"Center"
>
<font
size=
"8"
isBold=
"true"
/>
</textElement>
<text>
<![CDATA[
Alamat 1
]]>
</text>
<text>
<![CDATA[
Rekening
]]>
</text>
</staticText>
</band>
</pageHeader>
...
...
@@ -151,7 +154,7 @@
<textElement
textAlignment=
"Center"
>
<font
size=
"8"
/>
</textElement>
<textFieldExpression>
<![CDATA[$F{
alamat_2
}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{
wilayah
}]]>
</textFieldExpression>
</textField>
<textField
isStretchWithOverflow=
"true"
isBlankWhenNull=
"true"
>
<reportElement
stretchType=
"RelativeToBandHeight"
x=
"441"
y=
"0"
width=
"54"
height=
"12"
/>
...
...
@@ -173,7 +176,7 @@
<textElement>
<font
size=
"8"
/>
</textElement>
<textFieldExpression>
<![CDATA[$F{
alamat_1
}]]>
</textFieldExpression>
<textFieldExpression>
<![CDATA[$F{
rekening
}]]>
</textFieldExpression>
</textField>
</band>
</detail>
...
...
esipkd/views/reports.py
View file @
e3a68cf
...
...
@@ -271,7 +271,11 @@ class ViewLaporan(BaseViews):
return
response
###################### ARINVOICE
elif
url_dict
[
'act'
]
==
'r100'
:
query
=
DBSession
.
query
(
ARInvoice
)
.
order_by
(
ARInvoice
.
kode
)
.
all
()
u
=
req
.
user
.
id
print
"------------------------->>"
,
u
query
=
DBSession
.
query
(
ARInvoice
)
.
filter
(
ARInvoice
.
owner_id
==
u
)
.
order_by
(
ARInvoice
.
kode
)
.
all
()
generator
=
r100Generator
()
pdf
=
generator
.
generate
(
query
)
response
=
req
.
response
...
...
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