|
|
@@ -18,24 +18,7 @@ function TableLaporan({ listData, to, linkName, status = false, noBy = false })
|
|
|
</Link>
|
|
|
</div>
|
|
|
{listData && (
|
|
|
- <Datatable options={
|
|
|
- {
|
|
|
- 'paging': true, responsive: false, ordering: true, keys: false,
|
|
|
- oLanguage: {
|
|
|
- sSearch: '<em class="fa fa-search"></em>',
|
|
|
- sLengthMenu: '_MENU_ records per page',
|
|
|
- info: 'Showing page _PAGE_ of _PAGES_',
|
|
|
- zeroRecords: 'Nothing found - sorry',
|
|
|
- infoEmpty: 'No records available',
|
|
|
- infoFiltered: '(filtered from _MAX_ total records)',
|
|
|
- oPaginate: {
|
|
|
- sNext: '<em class="fa fa-caret-right"></em>',
|
|
|
- sPrevious: '<em class="fa fa-caret-left"></em>',
|
|
|
- color: '#ffff'
|
|
|
- }
|
|
|
- },
|
|
|
- }
|
|
|
- }>
|
|
|
+ <Datatable options={{ responsive: false, ordering: true, keys: true }}>
|
|
|
<table className="table w-100" data-order='[[3, "desc"]]'>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
@@ -94,7 +77,7 @@ function TableLaporan({ listData, to, linkName, status = false, noBy = false })
|
|
|
query: { id: data._id },
|
|
|
}}
|
|
|
>
|
|
|
- <Button className="btn-login" color>
|
|
|
+ <Button className="color-3e3a8e" color>
|
|
|
<span className="font-color-white">
|
|
|
{linkName}
|
|
|
</span>
|