92 lines
2.9 KiB
Plaintext
92 lines
2.9 KiB
Plaintext
@{
|
|
ViewData["Title"] = "Transaksi Laporan";
|
|
}
|
|
|
|
<div class="flex flex-col gap-2 md:flex-row md:justify-between md:gap-0">
|
|
<div class="prose">
|
|
<span class="text-xl font-semibold text-black">
|
|
Transaksi Laporan
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="h-6"></div>
|
|
|
|
<div class="card bg-white">
|
|
<div class="card-body">
|
|
<form class="grid-col-1 grid items-end gap-4 md:grid-cols-4">
|
|
<fieldset class="fieldset">
|
|
<legend class="fieldset-legend">Tanggal Awal</legend>
|
|
<input type="date" class="input w-full" />
|
|
</fieldset>
|
|
<fieldset class="fieldset">
|
|
<legend class="fieldset-legend">Tanggal Akhir</legend>
|
|
<input type="date" class="input w-full" />
|
|
</fieldset>
|
|
<fieldset class="fieldset">
|
|
<legend class="fieldset-legend">Jenis Laporan</legend>
|
|
<select class="select w-full">
|
|
<option disabled selected>Pilih Jenis Laporan</option>
|
|
<option>Transaksi BSI-BSU</option>
|
|
<option>Transaksi Nasabah</option>
|
|
<option>Transaksi Offtaker</option>
|
|
</select>
|
|
</fieldset>
|
|
<button class="btn bg-bank-sampah-primary-500 w-full rounded-full text-white">
|
|
Download Excel
|
|
<i class="ph ph-download ms-2"></i>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="h-6"></div>
|
|
|
|
<div class="card bg-white">
|
|
<div class="card-body p-2">
|
|
<div class="flex flex-row items-center justify-between p-4">
|
|
<h2 class="card-title">
|
|
History Download
|
|
</h2>
|
|
</div>
|
|
<div class="w-full overflow-x-auto">
|
|
<table class="table-zebra table w-full" id="example">
|
|
<!-- head -->
|
|
<thead>
|
|
<tr>
|
|
<th class="w-[10%]">No</th>
|
|
<th class="w-[25%]">Nama File</th>
|
|
<th class="w-[50%]">Tanggal Download</th>
|
|
<th class="w-[15%]">Aksi</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@section Scripts {
|
|
<script type="text/javascript">
|
|
var table;
|
|
|
|
$(document).ready(function () {
|
|
table = new DataTable('#example', {
|
|
ajax: '/Main/TransaksiLaporan/Table',
|
|
scrollX: true,
|
|
autoWidth: false,
|
|
initComplete: function () {
|
|
$('div.dt-scroll-body thead').css('visibility', 'collapse');
|
|
},
|
|
columns: [
|
|
{ data: null, render: (d, t, r, m) => m.row + 1, orderable: false, searchable: false },
|
|
{ data: 'nama_file' },
|
|
{ data: 'tanggal_download' },
|
|
{ data: 'aksi' },
|
|
]
|
|
});
|
|
});
|
|
</script>
|
|
}
|