fix + datatable
This commit is contained in:
@@ -477,62 +477,6 @@ use Illuminate\Support\Facades\Auth;
|
|||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#claimTransactionsTable_wrapper .dataTables_scrollBody {
|
|
||||||
overflow-x: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Ensure responsive controls are visible */
|
|
||||||
#claimTransactionsTable_wrapper .dtr-control {
|
|
||||||
position: relative !important;
|
|
||||||
cursor: pointer !important;
|
|
||||||
background-color: #f8f9fa !important;
|
|
||||||
border: 1px solid #dee2e6 !important;
|
|
||||||
width: 30px !important;
|
|
||||||
height: 30px !important;
|
|
||||||
display: flex !important;
|
|
||||||
align-items: center !important;
|
|
||||||
justify-content: center !important;
|
|
||||||
font-weight: bold !important;
|
|
||||||
color: #495057 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#claimTransactionsTable_wrapper .dtr-control:before {
|
|
||||||
content: "+" !important;
|
|
||||||
font-size: 16px !important;
|
|
||||||
line-height: 1 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#claimTransactionsTable_wrapper .dtr-control.dtr-expanded:before {
|
|
||||||
content: "-" !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Ensure responsive child rows are properly styled */
|
|
||||||
#claimTransactionsTable_wrapper .dtr-details {
|
|
||||||
background-color: #f8f9fa !important;
|
|
||||||
border: 1px solid #dee2e6 !important;
|
|
||||||
padding: 10px !important;
|
|
||||||
margin: 5px 0 !important;
|
|
||||||
border-radius: 4px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#claimTransactionsTable_wrapper .dtr-details li {
|
|
||||||
border-bottom: 1px solid #e9ecef !important;
|
|
||||||
padding: 5px 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#claimTransactionsTable_wrapper .dtr-details li:last-child {
|
|
||||||
border-bottom: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#claimTransactionsTable_wrapper .dtr-title {
|
|
||||||
font-weight: 600 !important;
|
|
||||||
color: #495057 !important;
|
|
||||||
margin-right: 10px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#claimTransactionsTable_wrapper .dtr-data {
|
|
||||||
color: #6c757d !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Responsive adjustments for smaller screens */
|
/* Responsive adjustments for smaller screens */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
@@ -2807,16 +2751,16 @@ use Illuminate\Support\Facades\Auth;
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{data: 'date', name: 'date', title: 'Tanggal'},
|
{data: 'date', name: 'date'},
|
||||||
{data: 'spk', name: 'spk', title: 'SPK'},
|
{data: 'spk', name: 'spk'},
|
||||||
{data: 'police_number', name: 'police_number', title: 'No Polisi'},
|
{data: 'police_number', name: 'police_number'},
|
||||||
{data: 'work_name', name: 'work_name', title: 'Pekerjaan'},
|
{data: 'work_name', name: 'work_name'},
|
||||||
{data: 'qty', name: 'qty', title: 'Qty'},
|
{data: 'qty', name: 'qty'},
|
||||||
{data: 'sa_name', name: 'sa_name', title: 'Service Advisor'},
|
{data: 'sa_name', name: 'sa_name'},
|
||||||
{data: 'status', name: 'status', title: 'Status', orderable: false},
|
{data: 'status', name: 'status', orderable: false},
|
||||||
{data: 'action', name: 'action', title: 'Aksi', orderable: false, searchable: false},
|
{data: 'action', name: 'action', orderable: false, searchable: false},
|
||||||
{data: 'action_precheck', name: 'action_precheck', title: 'Pre Check', orderable: false, searchable: false},
|
{data: 'action_precheck', name: 'action_precheck', orderable: false, searchable: false},
|
||||||
{data: 'action_postcheck', name: 'action_postcheck', title: 'Post Check', orderable: false, searchable: false},
|
{data: 'action_postcheck', name: 'action_postcheck', orderable: false, searchable: false},
|
||||||
],
|
],
|
||||||
pageLength: 10,
|
pageLength: 10,
|
||||||
responsive: true,
|
responsive: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user