Lampiran 2 A : Flowchart dalam Prosedur Kas Keil PT. Argo Manunggal Triasta
Lampiran 5: Laporan Kas Kecil
A. Laporan kas AMT1
Lampiran 11 : Campiran Coding A. Menu Login
<!DOCTYPE html> <html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Start Bootstrap - SB Admin Version 2.0 Demo</title>
<!-- Core CSS - Include with every page -->
<link href="css/bootstrap.min.css" rel="stylesheet"> <link href="font-awesome/css/font-awesome.css"
rel="stylesheet">
<!-- SB Admin CSS - Include with every page --> <link href="css/sb-admin.css" rel="stylesheet"> </head>
<body>
<div class="container"> <div class="row">
<div class="col-md-4 col-md-offset-4"> <div class="login-panel panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Please Sign In</h3> </div>
<?php
if(isset($_POST['login'])){ include("koneksi.php");
$username = $_POST['username']; $password = $_POST['password'];
// query untuk mendapatkan record dari username
$login = mysqli_query($connect, "SELECT * FROM user"); $row=mysqli_fetch_array($login);
if ($row['username']==$username && $password == $password)
{session_start();
$_SESSION['nama'] = $row['nama'];
$_SESSION['username'] = $row['username']; header('location: menuutama/index.php'); } else{
echo "<center><br><br><br><br><br><br><b>LOGIN GAGAL! </b><br>
Username atau Password Anda tidak benar.<br>"; echo "<br>";
onclick=location.href='login.php'></a></center>";}} ?>
<div class="panel-body">
<form action="" method="POST"> <fieldset>
<div class="form-group">
<input class="form-control" placeholder="username" name="username" type="text" autofocus required > </div>
<div class="form-group">
<input class="form-control" placeholder="Password" name="password" type="password" value="" required> </div>
<!-- Change this to a button or input when using this as a form -->
<input class="btn btn-lg btn-success btn-block" type="submit" name="login" value="Login">
</fieldset> </form> </div> </div> </div> </div> </div>
<!-- Core Scripts - Include with every page --> <script src="js/jquery-1.10.2.js"></script> <script src="js/bootstrap.min.js"></script> <script
src="js/plugins/metisMenu/jquery.metisMenu.js"></script> <!-- SB Admin Scripts - Include with every page -->
<script src="js/sb-admin.js"></script> </body>
</html>
B. Beranda <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Beranda</h1>
</div>
<div class="clearfix"></div><br /> <div class="container">
<img src="gambarpabrik.jpg" height="500px" width="700px">
</table> </div>
C. Menu Master Data
SETSALDO
<?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Master Data</h1> </div>
<div class="clearfix"></div><br /> <center>
<div class="container"> <a
href="http://localhost/fix/menuutama/masterdata/setsaldo /index.php" /><img src="setsaldoicon.png" height="150px" width="150px" button type="submit" class="btn
btn-primary" name="btn-save" > </button> </a>
<ahref="http://localhost/fix/menuutama/masterdata/datasa ldo/index.php"/><img src="saldoicon.png" height="150px" width="150px"button type="submit" class="btn
btn-primary" name="btn-save"> </button> </a>
</br></br></br> <a
href="http://localhost/fix/menuutama/masterdata/rekening /index.php"/><img src="rekeningicon.png" height="150px" width="150px"button type="submit" class="btn
btn-primary" name="btn-save"></button> </a><a
href="http://localhost/fix/menuutama/masterdata/datareke ning/index.php"/><img src="datarekening.png"
height="150px" width="150px"button type="submit" class="btn btn-primary" name="btn-save"></button> </a></center> </div>
<?php
include_once 'dbconfig.php'; if(isset($_POST['btn-save'])) {
$periode = $_POST['periode']; $tahun = $_POST['tahun']; $koderek= $_POST['koderek'];
$jumlahsaldo = $_POST['jumlahsaldo'];
if($crud->create($periode,$tahun,$koderek,$jumlahsaldo)) {
header("Location: index.php?inserted"); }
else {
header("Location: index.php?failure"); }
} ?>
<?php include_once 'header.php'; ?> <div class="clearfix"></div>
<?php
if(isset($_GET['inserted'])) {
?>
<div class="container">
<div class="alert alert-info"> Saldo berhasil di tambahkan <a
href="http://localhost/fix/menuutama/masterdata/index.ph p">Kembali</a>!
</div> </div> <?php }
else if(isset($_GET['failure'])) {
?>
<div class="container"> <div class="alert alert-warning">
Saldo gagal di tambahkan </div>
</div> <?php } ?>
<div class="clearfix"></div><br /> <div class="container">
<form method='post'>
<table class='table table-bordered'> <tr>
<td>Periode</td>
<td><input type='date' name='periode' class='form-control' required></td>
</tr> <tr>
<td>Tahun</td> <td><select name="tahun">
<option value="">Pilih Tahun</option> <?php
$thn_skr = date('Y');
for ($x = $thn_skr; $x >= 2010; $x--) { ?>
<option value="<?php echo $x ?>"><?php echo $x ?></option>
<?php }
?></td> </select> </tr> <tr>
<td>Kode Bagian</td> <td>
<select name="koderek" > <?php$odb=new
PDO('mysql:host=localhost;dbname=petty_cash', 'root', '');
$query = "select * from divisi";
$data = $odb->prepare($query); // Prepare query for execution
$data->execute();// Execute (run) the query while($row=$data->fetch(PDO::FETCH_ASSOC)){ echo '<option
value="'.$row['nama_divisi'].'">'.$row['nama_divisi'].'< /option>';
//print_r($row); }?></select>
</td> </tr> <tr>
<td>Jumlah</td>
<td><input type='text' name='jumlahsaldo' class='form-control' required></td>
<td colspan="2">
<button type="submit" class="btn btn-primary" name="btn-save">
<span class="glyphicon glyphicon-plus"></span> Tambah</button>
<a
href="http://localhost/fix/menuutama/masterdata/index.ph p" class="btn btn-large btn-success"><i class="glyphicon glyphicon-backward"></i> Kembali ke Menu</a>
</td> </tr> </table> </form> </div>
E. DATASALDO <?php
include_once 'dbconfig.php';
?><?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Data Saldo</h1> </div>
<div class="clearfix"></div><br /> <div class="container">
<table class='table table-bordered table-responsive'> <tr>
<th>ID</th>
<th>Periode</th> <th>Tahun</th> <th>Kode</th> <th>Jumlah</th> <th>Edit</th>
<th>Hapus</th> </tr>
<?php
$query = "SELECT * FROM saldo_awal"; $records_per_page=500;
$newquery = $crud->paging($query,$records_per_page); $crud->dataview($newquery);
?><tr>
<td colspan="7" align="center"> <div class="pagination-wrap">
</div> </td> </tr>
</table> </div>
F. MENU REKENING <?php
include_once 'dbconfig.php'; if(isset($_POST['btn-save'])) {
$kode_rekening = $_POST['kode_rekening']; $bagian = $_POST['bagian'];
$nama_rekening= $_POST['nama_rekening']; $deskripsi = $_POST['deskripsi'];
if($crud->create($kode_rekening,$bagian,$nama_rekening,$deskripsi ))
{
header("Location: index.php?inserted"); }
else {
header("Location: index.php?failure"); }
} ?>
<?php include_once 'header.php'; ?> <div class="clearfix"></div>
<?php
if(isset($_GET['inserted'])) {
?>
<div class="container">
<div class="alert alert-info"> Rekening berhasil di tambahkan <a
href="http://localhost/fix/menuutama/masterdata/index.ph p">Kembali ke Menu</a>!
</div> </div> <?php }
else if(isset($_GET['failure'])) {
?>
<div class="alert alert-warning"> Rekening gagal di tambahkan
</div> </div> <?php }
?>
<div class="clearfix"></div><br /> <div class="container">
<h3>Tambah Rekening</h3> <form method='post'>
<table class='table table-bordered'> <tr>
<td>Kode Rekening</td>
<td><input type='text' name='kode_rekening' class='form-control' required></td>
</tr><tr>
<td>Bagian</td>
<td><select name="bagian" > <?php
$odb=new PDO('mysql:host=localhost;dbname=petty_cash', 'root', '');
$query = "select * from divisi";
$data = $odb->prepare($query); // Prepare query for execution
$data->execute();// Execute (run) the query while($row=$data->fetch(PDO::FETCH_ASSOC)){ echo '<option
value="'.$row['nama_divisi'].'">'.$row['nama_divisi'].'< /option>';
//print_r($row); }
?></select> </tr>
<tr>
<td>Account</td>
<td><input type='text' name='nama_rekening' class='form-control' required></td>
</tr> <tr>
<td>Rekening</td>
<td><input type='text' name='deskripsi' class='form-control' required></td>
</tr> <tr>
<button type="submit" class="btn btn-primary" name="btn-save">
<span class="glyphicon glyphicon-plus"></span> Tambah </button>
<a
href="http://localhost/fix/menuutama/masterdata/index.ph p" class="btn btn-large btn-success"><i class="glyphicon glyphicon-backward"></i> Kembali ke Menu</a></td> </tr>
</table> </form> </div>
G. MENU DATA REKENING <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Data Rekening</h1> </div>
<div class="clearfix"></div><br /> <div class="container">
<table class='table table-bordered table-responsive'> <tr>
<th>Kode Rekening</th> <th>Bagian</th>
<th>Account</th> <th>Deskripsi</th> <th>Edit</th>
<th>Hapus</th> </tr>
<?php
$query = "SELECT * FROM rekening"; $records_per_page=10;
$newquery = $crud->paging($query,$records_per_page); $crud->dataview($newquery);
?> <tr>
<td colspan="7" align="center"> <div class="pagination-wrap">
<?php $crud->paginglink($query,$records_per_page); ?> </div>
</tr> </table> </div>
EDIT F<?php
include_once 'dbconfig.php'; if(isset($_POST['btn-update'])) {
$kode_rekening = $_POST['kode_rekening']; $bagian = $_POST['bagian'];
$nama_rekening = $_POST['nama_rekening']; $deskripsi = $_POST['deskripsi'];
if($crud->update($kode_rekening,$bagian,$nama_rekening,$desk ripsi))
{
$msg = "<div class='alert alert-info'>
<strong></strong> Rekening telah berhasil di perbarui <a href='index.php'>HOME</a>!
</div>"; }
else {
$msg = "<div class='alert alert-warning'>
<strong>SORRY!</strong> ERROR while updating record !
</div>"; }
}
if(isset($_GET['edit_id'])) {
$id = $_GET['edit_id']; extract($crud->getID($id)); }
?>
<?php include_once 'header.php'; ?> <div class="clearfix"></div>
<div class="container"> <?php
echo $msg; }
?> </div>
<div class="clearfix"></div><br /> <div class="container">
<h3>Edit Data Rekening</h3> <form method='post'>
<table class='table table-bordered'> <tr>
<td>Kode Rekening</td>
<td><input type='text' name='kode_rekening' class='form-control' value="<?php echo $id; ?>" required></td>
</tr> <tr>
<td>Bagian</td>
<td><input type='text' name='bagian' class='form-control' value="<?php echo $bagian; ?>"
required></td> </tr>
<tr>
<td>Nama Rekening</td>
<td><input type='text' name='nama_rekening' class='form-control' value="<?php echo
$nama_rekening; ?>" required></td> </tr>
<tr>
<td>Deskripsi</td>
<td><input type='text' name='deskripsi'
class='form-control' value="<?php echo $deskripsi; ?>" required></td>
</tr> <tr>
<td colspan="2">
<button type="submit" class="btn btn-primary" name="btn-update">
<span class="glyphicon glyphicon-edit"></span> Update Data Rekening
</button>
<a href="index.php" class="btn large btn-success"><i class="glyphicon
glyphicon-backward"></i> Kembali</a> </td>
</div>
HAPUS <?php
include_once 'dbconfig.php'; if(isset($_POST['btn-del'])) {
$id = $_GET['delete_id']; $crud->delete($id);
header("Location: delete.php?deleted"); }
?>
<?php include_once 'header.php'; ?> <div class="clearfix"></div>
<div class="container"> <h3>Kembali ke </h3> <?php
if(isset($_GET['deleted'])) {
?>
<div class="alert alert-success"> Data Rekening berhasil di hapus </div>
<?php } else { ?>
<div class="alert alert-danger">
Apakah anda yakin akan menghapus data rekening ini? </div>
<?php } ?> </div>
<div class="clearfix"></div> <div class="container">
<?php
if(isset($_GET['delete_id'])) {
?>
<tr>
<th>Kode Rekening</th> <th>Bagian</th>
th>Nama Rekening</th> <th>Deskripsi</th> </tr>
<?php
$stmt = $DB_con->prepare("SELECT * FROM rekening WHERE kode_rekening=:kode_rekening");
$stmt->execute(array(":kode_rekening"=>$_GET['delete_id'] ));
while($row=$stmt->fetch(PDO::FETCH_BOTH)) {
?> tr>
<td><?php print($row['kode_rekening']); ?></td> <td><?php print($row['bagian']); ?></td>
<td><?php print($row['nama_rekening']); ?></td> <td><?php print($row['deskripsi']); ?></td> </tr>
<?php } ?>
</table> <?php }
?> </div>
<div class="container"> <p>
<?php
if(isset($_GET['delete_id'])) {
?>
<form method="post">
<input type="hidden" name="id" value="<?php echo $row['id']; ?>" />
<button class="btn btn-large btn-primary"
type="submit" name="btn-del"><i class="glyphicon glyphicon-trash"></i> Ya</button>
<a href="index.php" class="btn large btn-success"><i class="glyphicon
glyphicon-backward"></i> Tidak</a> </form>
else { ?>
<a href="index.php" class="btn large btn-success"><i class="glyphicon
glyphicon-backward"></i> Kembali ke Menu</a> <?php
} ?> </p> </div>
<?php include_once 'footer.php'; ?>
H. MENU KAS KELUAR <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Kas Keluar</h1> </div>
<div class="clearfix"></div><br /> <center>
<div class="container"> <a
href="http://localhost/fix/menuutama/kaskeluar/kaskeluar amt1/index.php"/><button type="submit" class="btn btn-primary" name="btn-save" >
<span class="glyphicon glyphicon-plus"></span> Kas Keluar AMT 1
</button> </a> <a
href="http://localhost/fix/menuutama/kaskeluar/kaskeluar amt2/index.php"/><button type="submit" class="btn btn-primary" name="btn-save">
<span class="glyphicon glyphicon-plus"></span> Kas Keluar AMT 2</button> </a>
I. MENU KAS KELUAR AMT1 <?php
include_once 'dbconfig.php'; if(isset($_POST['btn-save'])) {
$tanggal = $_POST['tanggal'];
$koderekening = $_POST['koderekening']; $bagian= $_POST['bagian'];
$jumlah = $_POST['jumlah'];
$keterangan = $_POST['keterangan'];
if($crud->create($tanggal,$bagian,$koderekening,$jumlah,$keterang an))
{
header("Location: index.php?inserted"); }
else {
header("Location: index.php?failure"); }
} ?>
<?php include_once 'header.php'; ?> <div class="clearfix"></div>
<?php
if(isset($_GET['inserted'])) {
?> <div class="container">
<div class="alert alert-info">
Kas berhasil di tambahkan <a href="index.php">Kembali ke Menu</a>!
</div> </div> <?php }
else if(isset($_GET['failure'])) {
?>
<div class="container">
<div class="alert alert-warning"> Kas gagal di tambahkan
?>
<div class="clearfix"></div><br /> <div class="container">
<h3>Tambah Kas Keluar AMT 1</h3> <form method='post'>
<table class='table table-bordered'> <tr>
<td>Tanggal</td>
<td><input type='date' name='tanggal' class='form-control' required></td>
</tr> <tr>
<td>Kode Bagian</td>
<td> <select name="koderekening" > php
$odb=new PDO('mysql:host=localhost;dbname=petty_cash', 'root', '');
$query = "select * from divisi";
$data = $odb->prepare($query); // Prepare query for execution
$data->execute();// Execute (run) the query while($row=$data->fetch(PDO::FETCH_ASSOC)){ echo '<option
value="'.$row['nama_divisi'].'">'.$row['nama_divisi'].'< /option>';
//print_r($row); }
?>
</select> </tr> <tr>
<td>Kode Rekening</td>
<td><select name="bagian" > <?php
$odb=new PDO('mysql:host=localhost;dbname=petty_cash', 'root', '');
$query = "select * from rekening";
$data = $odb->prepare($query); // Prepare query for execution
$data->execute();// Execute (run) the query while($row=$data->fetch(PDO::FETCH_ASSOC)){ echo '<option
value="'.$row['kode_rekening'].'">'.$row['kode_rekening' ].'</option>';
//print_r($row); }
</select></td> </tr>
<tr>
<td>Jumlah</td>
<td><input type='text' name='jumlah' class='form-control' required></td>
</tr> <tr>
<td>Keterangan</td>
<td><input type='text' name='keterangan' class='form-control' required></td>
</tr> <tr>
<td colspan="2">
<button type="submit" class="btn btn-primary" name="btn-save">
<span class="glyphicon glyphicon-plus"></span> Tambah </button>
<a
href="http://localhost/fix/menuutama/kaskeluar/index.php " class="btn btn-large btn-success"><i class="glyphicon glyphicon-backward"></i> Kembali</a>
</td> </tr> </table> </form> </div>
J. MENU KAS KELUAR AMT2 <?php
include_once 'dbconfig.php'; if(isset($_POST['btn-save'])) {
$tanggal = $_POST['tanggal'];
$koderekening = $_POST['koderekening']; $bagian= $_POST['bagian'];
$jumlah = $_POST['jumlah'];
$keterangan = $_POST['keterangan'];
if($crud->create($tanggal,$bagian,$koderekening,$jumlah,$keterang an))
{
header("Location: index.php?inserted"); }else
{header("Location: index.php?failure"); }
?>
<?php include_once 'header.php'; ?> <div class="clearfix"></div>
<?php
if(isset($_GET['inserted'])) {
?> <div class="container">
<div class="alert alert-info">
Kas berhasil di tambahkan <a href="index.php">Kembali ke Menu</a>!
</div> </div> <?php }
else if(isset($_GET['failure'])) {
?>
<div class="container">
<div class="alert alert-warning"> Kas gagal di tambahkan
</div> </div> <?php }
?>
<div class="clearfix"></div><br /> <div class="container">
<h3>Tambah Kas Keluar AMT 2</h3> <form method='post'>
<table class='table table-bordered'> <tr>
<td>Tanggal</td>
<td><input type='date' name='tanggal' class='form-control' required></td>
</tr> <tr>
<td>Kode Bagian</td>
<td><select name="koderekening" > <?php
$odb=new PDO('mysql:host=localhost;dbname=petty_cash', 'root', '');
query = "select * from divisi";
$data = $odb->prepare($query); // Prepare query for execution
echo '<option
value="'.$row['nama_divisi'].'">'.$row['nama_divisi'].'< /option>';
//print_r($row); }
?>
</select> </tr> <tr>
<td>Kode Rekening</td>
<td><select name="bagian" > <?php
$odb=new PDO('mysql:host=localhost;dbname=petty_cash', 'root', '');
$query = "select * from rekening";
$data = $odb->prepare($query); // Prepare query for execution
data->execute();// Execute (run) the query ($row=$data->fetch(PDO::FETCH_ASSOC)){ echo '<option
value="'.$row['kode_rekening'].'">'.$row['kode_rekening' ].'</option>';
//print_r($row); }
?>
</select></td> </tr>
<tr>
<td>Jumlah</td>
<td><input type='text' name='jumlah' class='form-control' required></td>
</tr> <tr>
<td>Keterangan</td>
<td><input type='text' name='keterangan' class='form-control' required></td>
</tr> <tr>
<td colspan="2">
<button type="submit" class="btn btn-primary" name="btn-save">
<span class="glyphicon glyphicon-plus"></span> Tambah </button>
<a
</td> </tr> </table> </form> </div>
K. MENU DATA KAS KELUAR <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Data Kas Keluar</h1> </div>
<div class="clearfix"></div><br /> <center>
<div class="container"> <a
href="http://localhost/fix/menuutama/laporankaskeluar/am t1/index.php"/><button type="submit" class="btn btn-primary" name="btn-save" >
<span class="glyphicon glyphicon-plus"></span> AMT 1 </button> </a>
<a
href="http://localhost/fix/menuutama/laporankaskeluar/am t2/index.php"/><button type="submit" class="btn btn-primary" name="btn-save"><span class="glyphicon
glyphicon-plus"></span> AMT 2</button> </a> </center>
</div>
L. MENU KAS KELUAR AMT 1 <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container">
<div class="clearfix"></div><br /> <div class="container">
<table class='table table-bordered table-responsive'> <tr>
<th>ID</th> <th>Tanggal</th> <th>Bagian</th>
<th>Norekening</th> th>Jumlah</th>
<th>Keterangan</th> </tr>
<?php
$query = "SELECT * FROM kas_keluar_amt1"; $
$newquery = $crud->paging($query,$records_per_page); $crud->dataview($newquery);
?> <tr>
<td colspan="7" align="center"> <div class="pagination-wrap">
<?php $crud->paginglink($query,$records_per_page); ?> </div>
</td>
</tr> </table> </div>
M. MENU DATA KAS KELUAR AMT2 <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container">
<h1>Data Kas Keluar AMT2</h1> </div>
<div class="clearfix"></div><br /> <div class="container">
table class='table table-bordered table-responsive'> <tr>
<th>ID</th>
<th>Keterangan</th> </tr>
<?php
$query = "SELECT * FROM kas_keluar_amt2"; $records_per_page=500;
newquery = $crud->paging($query,$records_per_page); $crud->dataview($newquery);
?> <tr>
<td colspan="7" align="center"> <div class="pagination-wrap">
<?php $crud->paginglink($query,$records_per_page); ?> </div>
</td> </tr> </table> </div>
N. MENU NOTA <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Nota</h1>
</div>
<div class="clearfix"></div><br /> <center>
<div class="container"> <a
href="http://localhost/fix/menuutama/nota/amt1/index.php "/><button type="submit" class="btn btn-primary"
name="btn-save" >
<span class="glyphicon glyphicon-plus"></span> Nota AMT 1
</button> </a> <a
href="http://localhost/fix/menuutama/nota/amt2/index.php "/><button type="submit" class="btn btn-primary"
name="btn-save">
<span class="glyphicon glyphicon-plus"></span> Nota AMT 2
</div>
O. MENU NOTA AMT1 <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Nota AMT 1</h1> </div>
<div class="clearfix"></div><br /> <div class="container">
<table class='table table-bordered table-responsive'> <tr>
<th>ID</th>
<th>Tanggal</th> <th>Bagian</th>
<th>Kode Rekening</th> <th>Jumlah Kas Keluar</th> <th>Jumlah Saldo</th>
<th>Keterangan</th> <th>Cetak Nota</th> </tr>
<?php
$query = "SELECT * FROM kas_keluar_amt1 "; $records_per_page=500;
newquery = $crud->paging($query,$records_per_page); $crud->dataview($newquery);
?> <tr>
<td colspan="7" align="center"> <div class="pagination-wrap">
<?php $crud->paginglink($query,$records_per_page); ?> </div>
P. MENU NOTA AMT2 <?php
include_once 'dbconfig.php'; ?>
<?php include_once 'header.php'; ?> <div class="clearfix">
</div>
<div class="container"> <h1>Nota AMT 2</h1> </div>
<div class="clearfix"></div><br /> <div class="container">
<table class='table table-bordered table-responsive'> <tr>
<th>ID</th>
<th>Tanggal</th> <th>Bagian</th>
<th>Kode Rekening</th> <th>Jumlah Kas Keluar</th> <th>Jumlah Saldo</th>
<th>Keterangan</th> <th>Cetak Nota</th> </tr>
<?php
$query = "SELECT * FROM kas_keluar_amt2 "; %records_per_page=500;
$newquery = $crud->paging($query,$records_per_page); $crud->dataview($newquery);
?> <tr>
<td colspan="7" align="center"> <div class="pagination-wrap">
<?php $crud->paginglink($query,$records_per_page); ?> </div>