Commit 6a36f63b by aagusti

update esipkd 24-06-2015

1 parent cbe90573
......@@ -26,24 +26,56 @@
<field name="registered_date" class="java.lang.String">
<fieldDescription><![CDATA[registered_date]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="106" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="80" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR USER]]></text>
</staticText>
<staticText>
<reportElement x="0" y="11" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="56" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="26" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<image>
<reportElement x="0" y="1" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="41" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
......
......@@ -2,7 +2,7 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="urusan" pageWidth="595" pageHeight="842" columnWidth="495" leftMargin="50" rightMargin="50" topMargin="28" bottomMargin="20">
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
......@@ -14,30 +14,62 @@
<field name="kode" class="java.lang.String">
<fieldDescription><![CDATA[kode]]></fieldDescription>
</field>
<field name="uraian" class="java.lang.String">
<fieldDescription><![CDATA[uraian]]></fieldDescription>
<field name="nama" class="java.lang.String">
<fieldDescription><![CDATA[nama]]></fieldDescription>
</field>
<field name="customer" class="java.lang.String">
<fieldDescription><![CDATA[customer]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="49" splitType="Stretch">
<band height="113" splitType="Stretch">
<staticText>
<reportElement x="0" y="16" width="495" height="15"/>
<reportElement x="0" y="86" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR GRUP PENGGUNA]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="0" y="1" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
<staticText>
<reportElement x="0" y="10" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
</textField>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
</band>
</title>
<pageHeader>
......@@ -92,7 +124,7 @@
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{uraian}]]></textFieldExpression>
<textFieldExpression><![CDATA[$F{nama}]]></textFieldExpression>
</textField>
</band>
</detail>
......
......@@ -23,30 +23,62 @@
<field name="is_summary" class="java.lang.String">
<fieldDescription><![CDATA[is_summary]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="104" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="80" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR UNIT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="12" splitType="Stretch">
<staticText>
<reportElement x="49" y="0" width="360" height="12"/>
<reportElement x="55" y="0" width="354" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -59,7 +91,7 @@
<text><![CDATA[Uraian]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="49" height="12"/>
<reportElement x="0" y="0" width="55" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -105,8 +137,8 @@
<detail>
<band height="12" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="49" height="12"/>
<box>
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="55" height="12"/>
<box leftPadding="1">
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
......@@ -116,8 +148,8 @@
<textFieldExpression><![CDATA[$F{kode}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="49" y="0" width="360" height="12"/>
<box>
<reportElement stretchType="RelativeToBandHeight" x="55" y="0" width="354" height="12"/>
<box leftPadding="1">
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
......
......@@ -2,8 +2,8 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="urusan" pageWidth="595" pageHeight="842" columnWidth="495" leftMargin="50" rightMargin="50" topMargin="28" bottomMargin="20">
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="111"/>
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="21"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
......@@ -20,24 +20,56 @@
<field name="status" class="java.lang.String">
<fieldDescription><![CDATA[status]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="49" splitType="Stretch">
<band height="108" splitType="Stretch">
<staticText>
<reportElement x="0" y="16" width="495" height="15"/>
<reportElement x="0" y="83" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR JABATAN]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="0" y="1" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
<image>
<reportElement x="0" y="1" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="26" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
</textField>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="11" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="56" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="41" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
......
......@@ -2,8 +2,8 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="urusan" pageWidth="595" pageHeight="842" columnWidth="495" leftMargin="50" rightMargin="50" topMargin="28" bottomMargin="20">
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="444"/>
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="21"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
......@@ -20,24 +20,56 @@
<field name="status" class="java.lang.String">
<fieldDescription><![CDATA[status]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="49" splitType="Stretch">
<band height="106" splitType="Stretch">
<staticText>
<reportElement x="0" y="16" width="495" height="15"/>
<reportElement x="0" y="81" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR PEGAWAI]]></text>
</staticText>
<textField isBlankWhenNull="true">
<reportElement x="0" y="1" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
</textField>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
......
......@@ -23,30 +23,62 @@
<field name="is_summary" class="java.lang.String">
<fieldDescription><![CDATA[is_summary]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="107" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="80" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR REKENING]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="12" splitType="Stretch">
<staticText>
<reportElement x="76" y="0" width="333" height="12"/>
<reportElement x="80" y="0" width="329" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -59,7 +91,7 @@
<text><![CDATA[Uraian]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="76" height="12"/>
<reportElement x="0" y="0" width="80" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -105,7 +137,7 @@
<detail>
<band height="12" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="76" height="12"/>
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="80" height="12"/>
<box leftPadding="2">
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
......@@ -116,7 +148,7 @@
<textFieldExpression><![CDATA[$F{kode}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="76" y="0" width="333" height="12"/>
<reportElement stretchType="RelativeToBandHeight" x="80" y="0" width="329" height="12"/>
<box leftPadding="2">
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
......
......@@ -26,30 +26,62 @@
<field name="tarif" class="java.lang.String">
<fieldDescription><![CDATA[tarif]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="110" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="81" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR PAJAK DAN TARIF]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="12" splitType="Stretch">
<staticText>
<reportElement x="76" y="0" width="177" height="12"/>
<reportElement x="80" y="0" width="173" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -62,7 +94,7 @@
<text><![CDATA[Nama]]></text>
</staticText>
<staticText>
<reportElement x="0" y="0" width="76" height="12"/>
<reportElement x="0" y="0" width="80" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -75,7 +107,7 @@
<text><![CDATA[Kode]]></text>
</staticText>
<staticText>
<reportElement x="409" y="0" width="32" height="12"/>
<reportElement x="431" y="0" width="32" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -88,7 +120,7 @@
<text><![CDATA[Tahun]]></text>
</staticText>
<staticText>
<reportElement x="441" y="0" width="54" height="12"/>
<reportElement x="463" y="0" width="32" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -101,7 +133,7 @@
<text><![CDATA[Tarif (%)]]></text>
</staticText>
<staticText>
<reportElement x="253" y="0" width="156" height="12"/>
<reportElement x="253" y="0" width="178" height="12"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
......@@ -121,7 +153,7 @@
<detail>
<band height="12" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="76" height="12"/>
<reportElement stretchType="RelativeToBandHeight" x="0" y="0" width="80" height="12"/>
<box leftPadding="2">
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
......@@ -132,7 +164,7 @@
<textFieldExpression><![CDATA[$F{kode}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="76" y="0" width="177" height="12"/>
<reportElement stretchType="RelativeToBandHeight" x="80" y="0" width="173" height="12"/>
<box leftPadding="2">
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
......@@ -143,7 +175,7 @@
<textFieldExpression><![CDATA[$F{nama}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="409" y="0" width="32" height="12"/>
<reportElement stretchType="RelativeToBandHeight" x="431" y="0" width="32" height="12"/>
<box>
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
......@@ -154,7 +186,7 @@
<textFieldExpression><![CDATA[$F{tahun}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="441" y="0" width="54" height="12"/>
<reportElement stretchType="RelativeToBandHeight" x="463" y="0" width="32" height="12"/>
<box>
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
......@@ -165,7 +197,7 @@
<textFieldExpression><![CDATA[$F{tarif}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToBandHeight" x="253" y="0" width="156" height="12"/>
<reportElement stretchType="RelativeToBandHeight" x="253" y="0" width="178" height="12"/>
<box leftPadding="2">
<leftPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
......
......@@ -23,24 +23,56 @@
<field name="is_summary" class="java.lang.String">
<fieldDescription><![CDATA[is_summary]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="109" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="84" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR WILAYAH]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
......
......@@ -26,23 +26,55 @@
<field name="status" class="java.lang.String">
<fieldDescription><![CDATA[status]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="105" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="80" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR SUBJEK PAJAK]]></text>
<text><![CDATA[DAFTAR PENYETOR]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
......
......@@ -17,32 +17,64 @@
<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>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="105" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="80" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR SUBJEK PAJAK]]></text>
<text><![CDATA[DAFTAR OBJEK]]></text>
</staticText>
<image>
<reportElement x="0" y="1" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="26" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="11" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="56" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="41" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
......@@ -85,7 +117,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 +143,7 @@
<textElement textAlignment="Center">
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Alamat 1]]></text>
<text><![CDATA[Rekening]]></text>
</staticText>
</band>
</pageHeader>
......@@ -151,7 +183,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 +205,7 @@
<textElement>
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{alamat_1}]]></textFieldExpression>
<textFieldExpression><![CDATA[$F{rekening}]]></textFieldExpression>
</textField>
</band>
</detail>
......
......@@ -35,24 +35,56 @@
<field name="skpd" class="java.lang.String">
<fieldDescription><![CDATA[skpd]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="694" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="108" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="694" height="15"/>
<reportElement x="0" y="80" width="694" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR NOMOR BAYAR]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="25" width="694" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="694" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="694" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="694" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
......
......@@ -3,7 +3,7 @@
<property name="ireport.scriptlethandling" value="0"/>
<property name="ireport.encoding" value="UTF-8"/>
<property name="ireport.zoom" value="1.24184264611831"/>
<property name="ireport.x" value="330"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<import value="net.sf.jasperreports.engine.*"/>
<import value="java.util.*"/>
......@@ -38,24 +38,56 @@
<field name="kode" class="java.lang.String">
<fieldDescription><![CDATA[kode]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="617" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="108" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="617" height="15"/>
<reportElement x="0" y="81" width="617" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR PENERIMAAN]]></text>
</staticText>
<staticText>
<reportElement x="0" y="55" width="617" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="25" width="617" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="40" width="617" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
<staticText>
<reportElement x="0" y="10" width="617" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<image>
<reportElement x="0" y="0" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
</band>
</title>
<pageHeader>
......
......@@ -23,24 +23,56 @@
<field name="unit_nm" class="java.lang.String">
<fieldDescription><![CDATA[unit_nm]]></fieldDescription>
</field>
<field name="logo" class="java.lang.String">
<fieldDescription><![CDATA[logo]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="55" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement x="0" y="4" width="495" height="15"/>
<textElement textAlignment="Center" markup="none">
<font isBold="true"/>
</textElement>
</textField>
<band height="107" splitType="Stretch">
<staticText>
<reportElement x="0" y="19" width="495" height="15"/>
<reportElement x="0" y="82" width="495" height="15"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[DAFTAR STS]]></text>
</staticText>
<image>
<reportElement x="0" y="1" width="55" height="60"/>
<imageExpression><![CDATA[$F{logo}]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="56" width="495" height="15"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="0" y="11" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[PEMERINTAH PROVINSI JAWA BARAT]]></text>
</staticText>
<staticText>
<reportElement x="0" y="26" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[DINAS PENDAPATAN DAERAH]]></text>
</staticText>
<staticText>
<reportElement x="0" y="41" width="495" height="15"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="10" isBold="true"/>
</textElement>
<text><![CDATA[Jl. Soekarno Hatta no. 528 Bandung]]></text>
</staticText>
</band>
</title>
<pageHeader>
......
id,kode,nama,rekening_id,tarif,tahun,status
1,4.1.1.01.01.,Pajak Kendaraan Bermotor,5,100,2015,0
2,4.1.1.01.02.,"A-2 Sedan, Jeep, Station Wagon (Umum)",6,100,2015,0
3,4.1.1.01.04.,"B-1 Bus, Micro Bus (Pribadi)",8,100,2015,0
4,4.1.1.01.05.,"B-2 Bus, Micro Bus (Umum)",9,100,2015,0
5,4.1.1.01.07.,"C-1 Truck, Pick Up (Pribadi)",11,100,2015,0
6,4.1.1.01.08.,"C-2 Truck, Pick Up (Umum)",12,100,2015,0
7,4.1.1.01.10.,D-1 Kendaraan Khusus (Pribadi),14,100,2015,0
8,4.1.1.01.11.,D-2 Kendaraan Khusus (Umum),15,100,2015,0
9,4.1.1.01.13.,"E-1 Sepeda Motor, Scooter (Pribadi)",17,100,2015,0
10,4.1.1.02.01.,Pajak Kendaraan Di Atas Air,20,100,2015,0
11,4.1.1.03.01.,Bea Balik Nama Kendaraan Bermotor,22,100,2015,0
12,4.1.1.03.02.,"A-2 Sedan, Jeep, Station Wagon (Umum)",23,100,2015,0
13,4.1.1.03.03.,"A-3 Sedan, Jeep, Station Wagon (Dinas)",24,100,2015,0
14,4.1.1.03.04.,"B-1 Bus, Micro Bus (Pribadi)",25,100,2015,0
15,4.1.1.03.05.,"B-2 Bus, Micro Bus (Umum)",26,100,2015,0
16,4.1.1.03.06.,"B-3 Bus, Micro Bus (Dinas)",27,100,2015,0
17,4.1.1.03.07.,"C-1 Truck, Pick Up (Pribadi)",28,100,2015,0
18,4.1.1.03.08.,"C-2 Truck, Pick Up (Umum)",29,100,2015,0
19,4.1.1.03.09.,"C-3 Truck, Pick Up (Dinas)",30,100,2015,0
20,4.1.1.03.10.,D-1 Kendaraan Khusus (Pribadi),31,100,2015,0
21,4.1.1.03.11.,D-2 Kendaraan Khusus (Umum),32,100,2015,0
22,4.1.1.03.12.,D-3 Kendaraan Khusus (Dinas),33,100,2015,0
23,4.1.1.03.13.,"E-1 Sepeda Motor, Scooter (Pribadi)",34,100,2015,0
24,4.1.1.03.14.,"E-2 Sepeda Motor, Scooter (Dinas)",35,100,2015,0
25,4.1.1.04.01.,Bea Balik nama Kendaraan Di atas Air,37,100,2015,0
1,4.1.1.01.01.,Pajak Kendaraan Bermotor,5,100,2015,1
2,4.1.1.01.02.,"A-2 Sedan, Jeep, Station Wagon (Umum)",6,100,2015,1
3,4.1.1.01.04.,"B-1 Bus, Micro Bus (Pribadi)",8,100,2015,1
4,4.1.1.01.05.,"B-2 Bus, Micro Bus (Umum)",9,100,2015,1
5,4.1.1.01.07.,"C-1 Truck, Pick Up (Pribadi)",11,100,2015,1
6,4.1.1.01.08.,"C-2 Truck, Pick Up (Umum)",12,100,2015,1
7,4.1.1.01.10.,D-1 Kendaraan Khusus (Pribadi),14,100,2015,1
8,4.1.1.01.11.,D-2 Kendaraan Khusus (Umum),15,100,2015,1
9,4.1.1.01.13.,"E-1 Sepeda Motor, Scooter (Pribadi)",17,100,2015,1
10,4.1.1.02.01.,Pajak Kendaraan Di Atas Air,20,100,2015,1
11,4.1.1.03.01.,Bea Balik Nama Kendaraan Bermotor,22,100,2015,1
12,4.1.1.03.02.,"A-2 Sedan, Jeep, Station Wagon (Umum)",23,100,2015,1
13,4.1.1.03.03.,"A-3 Sedan, Jeep, Station Wagon (Dinas)",24,100,2015,1
14,4.1.1.03.04.,"B-1 Bus, Micro Bus (Pribadi)",25,100,2015,1
15,4.1.1.03.05.,"B-2 Bus, Micro Bus (Umum)",26,100,2015,1
16,4.1.1.03.06.,"B-3 Bus, Micro Bus (Dinas)",27,100,2015,1
17,4.1.1.03.07.,"C-1 Truck, Pick Up (Pribadi)",28,100,2015,1
18,4.1.1.03.08.,"C-2 Truck, Pick Up (Umum)",29,100,2015,1
19,4.1.1.03.09.,"C-3 Truck, Pick Up (Dinas)",30,100,2015,1
20,4.1.1.03.10.,D-1 Kendaraan Khusus (Pribadi),31,100,2015,1
21,4.1.1.03.11.,D-2 Kendaraan Khusus (Umum),32,100,2015,1
22,4.1.1.03.12.,D-3 Kendaraan Khusus (Dinas),33,100,2015,1
23,4.1.1.03.13.,"E-1 Sepeda Motor, Scooter (Pribadi)",34,100,2015,1
24,4.1.1.03.14.,"E-2 Sepeda Motor, Scooter (Dinas)",35,100,2015,1
25,4.1.1.04.01.,Bea Balik nama Kendaraan Di atas Air,37,100,2015,1
26,4.1.1.05.01.,Pajak Bahan Bakar Kendaraan Bermotor,39,100,2015,1
27,4.1.1.05.02.,Pertamax,40,100,2015,1
28,4.1.1.05.03.,Pertamax Plus,41,100,2015,1
......
......@@ -203,7 +203,7 @@ def save(request, values, row=None):
sql_result = """
SELECT * FROM v_jupntepap
WHERE npwpd= '{npwpd}' and m_pjk_bln= '{m_pjk_bln}'
and m_pjk_thn = '{m_pjk_thn}' and kd_status='{kd_status}'
and m_pjk_thn = '{m_pjk_thn}'
""".format(
npwpd = values['npwpd'],
m_pjk_bln = values['m_pjk_bln'],
......@@ -215,9 +215,9 @@ def save(request, values, row=None):
return p
def save_request(values, request, row=None):
#values['npwpd'] = values['npwpd']
#values['m_pjk_bln'] = values['m_pjk_bln']
#values['m_pjk_thn'] = values['m_pjk_thn']
values['npwpd'] = values['npwpd']
values['m_pjk_bln'] = values['m_pjk_bln']
values['m_pjk_thn'] = values['m_pjk_thn']
row = save(request, values, row)
return row
......@@ -245,6 +245,7 @@ def view_add(request):
if request.POST:
if 'simpan' in request.POST:
controls = request.POST.items()
a = form.validate(controls)
try:
c = form.validate(controls)
if private_key:
......@@ -259,13 +260,23 @@ def view_add(request):
except ValidationFailure, e:
return dict(form=form, private_key=private_key, found=found)
ctrl=dict(controls)
row = save_request(ctrl, request)
row = save_request(dict(controls), request)
if not row:
request.session.flash('Data PAP tidak ditemukan', 'error')
values = {}
values['npwpd'] = a['npwpd']
values['m_pjk_bln'] = a['m_pjk_bln']
values['m_pjk_thn'] = a['m_pjk_thn']
form.set_appstruct(values)
return dict(form=form)
return route_list(request)
else:
request.session.flash('Data PAP ditemukan.')
found = 1
print '----------------Row Hasil Select--------------------',row
return HTTPFound(location=request.route_url('pap-edit',nr=ctrl['npwpd'],
nk=ctrl['m_pjk_bln'],
em=ctrl['m_pjk_thn']))
return HTTPFound(location=request.route_url('pap-edit',nr=row.npwpd,
nk=row.m_pjk_bln,
em=row.m_pjk_thn))
return route_list(request)
elif SESS_ADD_FAILED in request.session:
......@@ -278,7 +289,7 @@ def query_id(request):
sql_result1 = """
SELECT * FROM v_jupntepap
WHERE npwpd= '{npwpd}' and m_pjk_bln= '{m_pjk_bln}'
and m_pjk_thn = '{m_pjk_thn}' and kd_status='{kd_status}'
and m_pjk_thn = '{m_pjk_thn}'
""".format(
npwpd = request.matchdict['nr'],
m_pjk_bln = request.matchdict['nk'],
......@@ -306,6 +317,7 @@ def view_edit(request):
if request.POST:
if 'simpan' in request.POST:
controls = request.POST.items()
a = form.validate(controls)
try:
c = form.validate(controls)
if private_key:
......@@ -320,18 +332,31 @@ def view_edit(request):
except ValidationFailure, e:
return dict(form=form, private_key=private_key, found=found)
ctrl=dict(controls)
row = save_request(ctrl, request)
row = save_request(dict(controls), request)
if not row:
request.session.flash('Data PAP tidak ditemukan', 'error')
values = {}
values['npwpd'] = a['npwpd']
values['m_pjk_bln'] = a['m_pjk_bln']
values['m_pjk_thn'] = a['m_pjk_thn']
form.set_appstruct(values)
return dict(form=form)
return route_list(request)
else:
request.session.flash('Data PAP ditemukan.')
found = 1
print '----------------Row Hasil Select--------------------',row
return HTTPFound(location=request.route_url('pap-edit',nr=ctrl['npwpd'],
nk=ctrl['m_pjk_bln'],
em=ctrl['m_pjk_thn']))
return HTTPFound(location=request.route_url('pap-edit',nr=row.npwpd,
nk=row.m_pjk_bln,
em=row.m_pjk_thn))
return route_list(request)
elif SESS_EDIT_FAILED in request.session:
return session_failed(request, SESS_EDIT_FAILED)
values = {}
values['npwpd'] = row and row.npwpd or request.matchdict['nr']
values['m_pjk_bln'] = row and row.m_pjk_bln or request.matchdict['nk']
values['m_pjk_thn'] = row and row.m_pjk_thn or request.matchdict['em']
values['kd_status'] = row and row.kd_status or 0
values['kd_bayar'] = row and row.kd_bayar or None
values['npwpd1'] = row and row.npwpd or request.matchdict['nr']
......
......@@ -290,7 +290,7 @@ def view_act(request):
elif url_dict['act']=='hon_fast':
term = 'term' in params and params['term'] or ''
rows = DBSession.query(Unit.id, Unit.nama
).filter(Unit.level_id==3, Unit.nama.ilike('%%%s%%' % term)).all()
).filter(Unit.nama.ilike('%%%s%%' % term), Unit.level_id==3).all()
r = []
for k in rows:
d={}
......
......@@ -121,8 +121,13 @@
});
$('#btn_print').click(function () {
url = "/reports/act/r100"
//url = "/reports/act/r100"
url = "/reports/act/r100?id="+mID;
if (mID) {
window.open(url);
} else {
alert('Silahkan pilih Kode Bayar');
}
});
$('#btn_close').click(function () {
......
......@@ -121,8 +121,13 @@
});
$('#btn_print').click(function () {
url = "/reports/act/r100"
//url = "/reports/act/r100"
url = "/reports/act/r100?id="+mID;
if (mID) {
window.open(url);
} else {
alert('Silahkan pilih Kode Bayar');
}
});
$('#btn_close').click(function () {
......
......@@ -121,8 +121,13 @@
});
$('#btn_print').click(function () {
url = "/reports/act/r100"
//url = "/reports/act/r100"
url = "/reports/act/r100?id="+mID;
if (mID) {
window.open(url);
} else {
alert('Silahkan pilih Kode Bayar');
}
});
$('#btn_close').click(function () {
......
......@@ -292,7 +292,7 @@
</label>
<div class="col-md-9">
<button id="deformsave" name="simpan" type="submit" class="btn btn-primary "
value="simpan">Proses</button>
value="simpan">Bayar</button>
<button id="deformcancel" name="batal" type="submit" class="btn btn-default "
value="batal">Batal</button>
</div>
......
......@@ -155,7 +155,32 @@
window.location = "/"
});
$('#tanggal').click(
function(){
if (!Modernizr.inputtypes['date'] ||
"date" != "date"){
$('#tanggal').pickadate({"selectMonths": true,
"submitFormat": "yyyy-mm-dd",
"selectYears": true, "format": "yyyy-mm-dd"});
}
}
);
$('#tanggal2').click(
function(){
if (!Modernizr.inputtypes['date'] ||
"date" != "date"){
$('#tanggal2').pickadate({"selectMonths": true,
"submitFormat": "yyyy-mm-dd",
"selectYears": true, "format": "yyyy-mm-dd"});
}
}
);
$('#btn_print').click(function () {
$('#dlgRpt').modal('show');
});
$('#btn_pil_rpt').click(function () {
url = "/reports/act/r200"
window.open(url);
});
......@@ -172,5 +197,36 @@
});
});
</script>
<!-- Modal Report -->
<div class="modal fade" id="dlgRpt">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Pilih Report</h4>
</div>
<div class="modal-body">
<div class="row">
<label for="tanggal" class="control-label col-md-2" id="req-tanggal">
Tanggal</label>
<div class="col-md-4">
<input id="tanggal" class="form-control" type="text" readonly
value="" name="tanggal"/>
</div>
<div class="col-md-4">
<input id="tanggal2" class="form-control" type="text" readonly
value="" name="tanggal"/>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
<button type="button" class="btn btn-primary" id="btn_pil_rpt" name="btn_pil_rpt">Cetak</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
</html>
......@@ -118,7 +118,32 @@
window.location = "/"
});
$('#tanggal').click(
function(){
if (!Modernizr.inputtypes['date'] ||
"date" != "date"){
$('#tanggal').pickadate({"selectMonths": true,
"submitFormat": "yyyy-mm-dd",
"selectYears": true, "format": "yyyy-mm-dd"});
}
}
);
$('#tanggal2').click(
function(){
if (!Modernizr.inputtypes['date'] ||
"date" != "date"){
$('#tanggal2').pickadate({"selectMonths": true,
"submitFormat": "yyyy-mm-dd",
"selectYears": true, "format": "yyyy-mm-dd"});
}
}
);
$('#btn_print').click(function () {
$('#dlgRpt').modal('show');
});
$('#btn_pil_rpt').click(function () {
url = "/reports/act/r300"
window.open(url);
});
......@@ -135,5 +160,36 @@
});
});
</script>
<!-- Modal Report -->
<div class="modal fade" id="dlgRpt">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Pilih Report</h4>
</div>
<div class="modal-body">
<div class="row">
<label for="tanggal" class="control-label col-md-2" id="req-tanggal">
Tanggal</label>
<div class="col-md-4">
<input id="tanggal" class="form-control" type="text" readonly
value="" name="tanggal"/>
</div>
<div class="col-md-4">
<input id="tanggal2" class="form-control" type="text" readonly
value="" name="tanggal"/>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Batal</button>
<button type="button" class="btn btn-primary" id="btn_pil_rpt" name="btn_pil_rpt">Cetak</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
</html>
......@@ -110,7 +110,11 @@
$('#btn_print').click(function () {
url = "/reports/act/r100"
if (mID) {
window.open(url);
} else {
alert('Silahkan pilih Kode Bayar');
}
});
$('#btn_close').click(function () {
......
......@@ -80,11 +80,11 @@
</div>
</div>
<!--g-recaptcha ------------------------------->
<!--div class="form-group">
<div class="form-group">
<div class="col-md-offset-4">
<div class="g-recaptcha" data-sitekey="6LcGLQATAAAAABtqq0J20BATKsZPGXwBVj6i5zk_"></div>
</div>
</div-->
</div>
<!--Button ------------------------------->
<div class="form-group">
<label class="control-label col-md-3">
......
......@@ -80,11 +80,11 @@
</div>
</div>
<!--g-recaptcha ------------------------------->
<!--div class="form-group">
<div class="form-group">
<div class="col-md-offset-4">
<div class="g-recaptcha" data-sitekey="6LcGLQATAAAAABtqq0J20BATKsZPGXwBVj6i5zk_"></div>
</div>
</div-->
</div>
<!--Button ------------------------------->
<div class="form-group">
<label class="control-label col-md-3">
......@@ -295,6 +295,24 @@
${error}</p>
</div>
</div>
<!--Button ------------------------------->
<div class="form-group">
<label class="control-label col-md-3">
</label>
<div class="col-md-9">
<button id="btn_print" name="btn_print" type="button" class="btn btn-primary "
value="simpan">Cetak</button>
<script>
$('#btn_print').click(function () {
url= "/reports/act/epap?",
data= $('#deform').serialize(),
window.open(url+data);
});
</script>
</div>
</div><hr>
</div>
</fieldset>
</form>
......
......@@ -93,11 +93,11 @@
</div>
</div>
<!--g-recaptcha ------------------------------->
<!--div class="form-group">
<div class="form-group">
<div class="col-md-offset-4">
<div class="g-recaptcha" data-sitekey="6LcGLQATAAAAABtqq0J20BATKsZPGXwBVj6i5zk_"></div>
</div>
</div!-->
</div!>
<!--Button ------------------------------->
<div class="form-group">
<label class="control-label col-md-3">
......
......@@ -93,11 +93,11 @@
</div>
</div>
<!--g-recaptcha ------------------------------->
<!--div class="form-group">
<div class="form-group">
<div class="col-md-offset-4">
<div class="g-recaptcha" data-sitekey="6LcGLQATAAAAABtqq0J20BATKsZPGXwBVj6i5zk_"></div>
</div>
</div!-->
</div>
<!--Button ------------------------------->
<div class="form-group">
<label class="control-label col-md-3">
......@@ -459,6 +459,24 @@
</div>
</div>
<!--Button ------------------------------->
<div class="form-group">
<label class="control-label col-md-3">
</label>
<div class="col-md-9">
<button id="btn_print" name="btn_print" type="button" class="btn btn-primary "
value="simpan">Cetak</button>
<script>
$('#btn_print').click(function () {
url= "/reports/act/esamsat?",
data= $('#deform').serialize(),
window.open(url+data);
});
</script>
</div>
</div><hr>
</div>
</fieldset>
</form>
......
......@@ -141,8 +141,7 @@ class AddSchema(colander.Schema):
login = colander.SchemaNode(
colander.Boolean(),
missing = colander.drop,
title='Buat Login',
oid='login'
title='Buat Login'
)
email = colander.SchemaNode(
colander.String(),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!