<?php
include "../../layout/classModal.php";
$tahun_Setor = $_POST['rowid'];

$tahun_tabel_setor = substr($tahun_Setor, 2, 2) . substr($tahun_Setor, 7, 2);

$tb_siswa = "tb_siswa" . $tahun_tabel_setor;
$tb_transaksi = "db_transaksi" . $tahun_tabel_setor;
$tb_detailakun = "detail_akun" . $tahun_tabel_setor;
$tb_setor = "db_setor" .  $tahun_tabel_setor;

//SIMAKOM
$tb_komponen_setor = "simakom_komponen" . $tahun_tabel_setor;
$tb_kegiatan_setor = "simakom_kegiatan" . $tahun_tabel_setor;
$tb_akun_setor = "simakom_akun" . $tahun_tabel_setor;
$tb_detail_setor = "simakom_detail" . $tahun_tabel_setor;
$tb_revisi_setor = "simakom_revisi" . $tahun_tabel_setor;
$tb_transaksi_setor = "simakom_transaksi" . $tahun_tabel_setor;



$kategori = 'A';
$kategori_transaksi = "A1";
$jenis_transaksi = "11";

$page_id = "xxx";
$id_transaksi = "xxx";
$pajak = "xxx";

?>


<label>
    <h6><b class="text-primary">DATA RKAS/M</b></h6>
</label>


<?php

$class = new simakom_search();
$showList = $class->search_input();

?>
<table id="searchtable" class="table table-bordered table-hover table-sm mb-4 mt-2 ">
    <thead>
        <tr>
            <th width="100">Kode/Akun</th>
            <th>Uraian</th>
            <th width="120">Pagu Anggaran</th>
            <th width="120">Realisasi</th>
            <th width="110">Sisa Anggaran</th>
            <th width="130">Pilih Pagu</th>
        </tr>
    </thead>
    <tbody>
        <?php
        $class = new simakom_setor();
        $showList = $class->list_kategori('C', $page_id, $id_transaksi, $kategori_transaksi, $jenis_transaksi, $kategori, 'A', $tb_kegiatan_setor, $tb_komponen_setor, $tb_akun_setor, $tahun_Setor, $tb_detail_setor, $tb_revisi_setor);
        ?>
    </tbody>
</table>