| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/wamp/www/sipapbd_2021_sekolah/assets/fr/fr3/Laporan/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="5.4.4" DotMatrixReport="False" EngineOptions.UseFileCache="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PreviewOptions.PictureCacheInFile="True" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41106,5868001968" ReportOptions.Description.Text="" ReportOptions.LastChange="44085,6210296759" ScriptLanguage="PascalScript" ScriptText.Text="{ #10961 - 090920 - Laporan Plafon Anggaran Sementara Belanja } var abjad : array [1..10] of string ; no, urut : integer; abjadd : string; procedure ReplaceStr(var Source: string; ToReplace, ReplaceWith: string); var x : integer; begin x := Pos(UpperCase(ToReplace), UpperCase(Source)); if x > 0 then begin DeleteStr(Source, x, length(ToReplace)); Insert(ReplaceWith, Source, x); x := Pos(ToReplace, Source); end; end; procedure FormatBand(Band: TfrxBand; Color: Integer; FontStyle: Integer); var i :integer; memo : TfrxMemoView; begin for i := 0 to Band.Objects.Count - 1 do if Band.Objects[i] is TfrxMemoView then begin memo := TfrxMemoView(Band.Objects[i]); memo.Color := Color; memo.Font.Style := FontStyle; end; end; procedure FormatBandMemo(Band: TfrxMemoView; Color: Integer; FontStyle: Integer); var i :integer; memo : TfrxMemoView; begin for i := 0 to Band.Objects.Count - 1 do if Band.Objects[i] is TfrxMemoView then begin memo := TfrxMemoView(); memo.Color := Color; memo.Font.Style := FontStyle; end; end; procedure MasterData5OnBeforePrint(Sender: TfrxComponent); begin if(<qryData."URUT"> = 0) then begin urut := urut + 1; no := 0; end else begin urut := urut; no := no + 1; end end; begin urut := 0; no := 0; abjad := ['', 'a.', 'c.', 'd.', 'e.', 'f.', 'g.', 'h.', 'i.', 'j.']; end.">
<Datasets>
<item DataSet="frxDBPemda" DataSetName="frxDBPemda"/>
<item DataSet="frxDBTahun" DataSetName="frxDBTahun"/>
<item DataSet="frxDBStatus" DataSetName="frxDBStatus"/>
<item DataSet="frxDBKada" DataSetName="frxDBKada"/>
<item DataSet="frxDBSekda" DataSetName="frxDBSekda"/>
<item DataSet="qryData" DataSetName="qryData"/>
</Datasets>
<Variables>
<item Name=" Const"/>
<item Name="App_Title" Value="'Sistem Informasi Penyusunan APBD'"/>
<item Name="Tahun" Value="2021"/>
<item Name="Status" Value="'PRARKA'"/>
<item Name=" Text_Input"/>
<item Name="hal_no" Value="'1'"/>
<item Name="Id_SKPD" Value="0"/>
</Variables>
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
<TfrxDBXQuery Name="frxDBPemda" UserName="frxDBPemda" CloseDataSource="True" FieldAliases.Text="NAMA_PEMDA=NAMA_PEMDA LOKASI=LOKASI LOGO=LOGO" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select * from PEMDA " PropData="05704C65667402300470546F7002200A506172616D65746572730100"/>
<TfrxDBXQuery Name="frxDBTahun" UserName="frxDBTahun" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM TAHUN_ANGGARAN WHERE TAHUN = :tahun " PropData="05704C65667402700470546F7002200A506172616D657465727301010C3F000000204E616D653D22746168756E222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B546168756E262336323B220000"/>
<TfrxDBXQuery Name="frxDBStatus" UserName="frxDBStatus" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM STATUS_ANGGARAN WHERE TAHUN = :tahun AND STATUS = :status " PropData="05704C65667403B0000470546F7002200A506172616D657465727301010C3F000000204E616D653D22746168756E222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B546168756E262336323B2200010C40000000204E616D653D22737461747573222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B537461747573262336323B220000"/>
<TfrxDBXQuery Name="frxDBKada" UserName="frxDBKada" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select * from PEJABAT_DAERAH WHERE JABATAN='Kepala Daerah' " PropData="05704C65667403EC000470546F7002200A506172616D65746572730100"/>
<TfrxDBXQuery Name="frxDBSekda" UserName="frxDBSekda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select * from PEJABAT_DAERAH WHERE JABATAN='Sekretaris Daerah' " PropData="05704C656674032C010470546F7002200A506172616D65746572730100"/>
<TfrxDBXQuery Name="qryData" UserName="qryData" CloseDataSource="True" FieldAliases.Text="ID_REKENING=ID_REKENING ID_PARENT_REKENING=ID_PARENT_REKENING LEVEL_REKENING=LEVEL_REKENING TIPE=TIPE KELOMPOK=KELOMPOK JENIS=JENIS OBJEK=OBJEK RINCIAN=RINCIAN KODE_REKENING=KODE_REKENING NAMA_REKENING=NAMA_REKENING URUT=URUT PAGU=PAGU" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="with recursive data as ( select r.id_rekening, r.id_parent_rekening, r.level_rekening, r.tipe, r.kelompok, r.jenis, r.objek, r.rincian, r.kode_rekening, r.nama_rekening, 0 pagu from rekening r where r.tipe = '5' union all select r.id_rekening, r.id_parent_rekening, r.level_rekening, r.tipe, r.kelompok, r.jenis, r.objek, r.rincian, r.kode_rekening, r.nama_rekening, sum(ra.pagu) pagu from v_form_anggaran_lkp a join rincian_anggaran ra on ra.id_form_anggaran = a.id_form_anggaran join rekening r on r.id_rekening = ra.id_rekening where a.tahun = :tahun and a.status = :status and (a.id_skpd = :id_skpd or :id_skpd = 0) and a.tipe in ('KUA221', 'KUA21') group by 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 union all select r.id_rekening, r.id_parent_rekening, r.level_rekening, r.tipe, r.kelompok, r.jenis, r.objek, r.rincian, r.kode_rekening, r.nama_rekening, a.pagu from data a join rekening r on r.id_rekening = a.id_parent_rekening ) select r.id_rekening, r.id_parent_rekening, r.level_rekening, r.tipe, r.kelompok, r.jenis, r.objek, r.rincian, r.kode_rekening, r.nama_rekening, iif(r.tipe = '5' and r.kelompok = '2' and r.jenis <> '', 1, 0) urut, sum(r.pagu) pagu from data r where (r.tipe = '5' and r.kelompok <> '2' and r.level_rekening = 3) or (r.tipe = '5' and r.kelompok = '2' and r.level_rekening in (2, 3)) group by 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 " PropData="05704C65667402730470546F7002640A506172616D657465727301010C3F000000204E616D653D22746168756E222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B546168756E262336323B2200010C40000000204E616D653D22737461747573222044617461547970653D226674537472696E67222045787072657373696F6E3D22262336303B537461747573262336323B2200010C43000000204E616D653D2269645F736B7064222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B49645F534B5044262336323B2200010C43000000204E616D653D2269645F736B7064222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B49645F534B5044262336323B220000"/>
</TfrxDataPage>
<TfrxReportPage Name="Page" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="20" RightMargin="20" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
<TfrxMasterData Name="MasterData5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67716535" Left="0" Top="236" Width="642,5201" OnBeforePrint="MasterData5OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="qryData" DataSetName="qryData" RowCount="0" Stretched="True">
<TfrxMemoView Name="Memo117" Align="baLeft" Left="0" Top="0" Width="37,79527559" Height="22,67716535" StretchMode="smMaxHeight" DataSetName="qryTarSan" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="3" GapX="8" ParentFont="False" SuppressRepeated="True" Text="[urut]"/>
<TfrxMemoView Name="Memo118" Align="baLeft" Left="37,79527559" Top="0" Width="415,7480315" Height="22,67716535" StretchMode="smMaxHeight" DataSet="qryData" DataSetName="qryData" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="3" HideZeros="True" ParentFont="False" Text="[abjad[no]] [NameCase(<qryData."NAMA_REKENING">)]">
<Formats>
<item/>
<item/>
</Formats>
</TfrxMemoView>
<TfrxMemoView Name="Memo119" Align="baWidth" Left="453,54330709" Top="0" Width="188,97679291" Height="22,67716535" StretchMode="smMaxHeight" DataField="PAGU" DataSet="qryData" DataSetName="qryData" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="3" HAlign="haRight" ParentFont="False" Text="[qryData."PAGU"]"/>
</TfrxMasterData>
<TfrxColumnFooter Name="ColumnFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="0" Left="0" Top="324" Width="642,5201">
<TfrxLineView Name="Line2" Align="baWidth" Left="0" Top="0" Width="642,5201" Height="0" Color="0" Frame.Typ="4"/>
</TfrxColumnFooter>
<TfrxPageFooter Name="PageFooter3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="30,23624" Left="0" Top="344" Width="642,5201">
<TfrxMemoView Name="Memo522" Align="baWidth" Left="0" Top="15,11812" Width="642,5201" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Times New Roman" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Hal : [<hal_no>+<Page#>-1]"/>
<TfrxMemoView Name="Memo523" Left="15,11812" Top="15,11812" Width="608,126377" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="times New Roman" Font.Style="2" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Prioritas Plafon Anggaran Sementara (PPAS) APBD Tahun [Tahun]"/>
</TfrxPageFooter>
<TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="68,0315278" Left="0" Top="148" Width="642,5201">
<TfrxMemoView Name="Memo106" Align="baLeft" Left="0" Top="0" Width="37,7952755905512" Height="49,1338582677165" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="NO"/>
<TfrxMemoView Name="Memo108" Align="baLeft" Left="37,7952755905512" Top="0" Width="415,7480315" Height="49,13385827" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="URAIAN"/>
<TfrxMemoView Name="Memo109" Align="baWidth" Left="453,543307090551" Top="0" Width="188,976792909449" Height="49,1338582677165" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="PLAFON ANGGARAN SEMENTARA (Rp.)"/>
<TfrxMemoView Name="Memo122" Align="baLeft" Left="0" Top="49,13389" Width="37,7952755905512" Height="18,8976378" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="1"/>
<TfrxMemoView Name="Memo123" Align="baLeft" Left="37,7952755905512" Top="49,13389" Width="415,748031496063" Height="18,8976378" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="2"/>
<TfrxMemoView Name="Memo124" Align="baWidth" Left="453,543307086614" Top="49,13389" Width="188,976792913386" Height="18,8976378" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="3"/>
</TfrxPageHeader>
<TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="113,3859" Left="0" Top="16" Width="642,5201">
<TfrxMemoView Name="Memo104" Align="baWidth" Left="0" Top="3,77953" Width="642,5201" Height="109,60637" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Plafon Anggaran Sementara untuk Belanja Pegawai, Barang dan Jasa, Bunga, Subsidi, Hibah, Bantuan Sosial, Modal, Belanja Tidak Terduga, Bagi Hasil, Bantuan Keuangan Tahun Anggaran [frxDBTahun."TAHUN"]"/>
</TfrxReportTitle>
<TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="280" Width="642,5201">
<TfrxMemoView Name="Memo1" Align="baLeft" Left="0" Top="0" Width="37,79527559" Height="22,67716535" StretchMode="smMaxHeight" DataSetName="qryTarSan" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="15" GapX="8" ParentFont="False" Text=""/>
<TfrxMemoView Name="Memo2" Align="baLeft" Left="37,79527559" Top="0" Width="415,748031496063" Height="22,67716535" StretchMode="smMaxHeight" DataSet="qryData" DataSetName="qryData" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Total"/>
<TfrxMemoView Name="Memo3" Align="baWidth" Left="453,543307086063" Top="0" Width="188,976792913937" Height="22,67716535" StretchMode="smMaxHeight" DataSet="qryData" DataSetName="qryData" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text="[SUM(iif(<qryData."LEVEL_REKENING"> = 3, <qryData."PAGU">, 0),MasterData5)]"/>
</TfrxFooter>
</TfrxReportPage>
</TfrxReport>