diff --git a/resources/views/theme/backend/adminlte/widgets/invoice.blade.php b/resources/views/theme/backend/adminlte/widgets/invoice.blade.php index 26523c2..f07c1aa 100644 --- a/resources/views/theme/backend/adminlte/widgets/invoice.blade.php +++ b/resources/views/theme/backend/adminlte/widgets/invoice.blade.php @@ -2,6 +2,7 @@
Account | # | Issued | Due | @@ -14,6 +15,7 @@
---|---|---|---|
{{ $oo->account->name }} | {{ $oo->id }} | {{ $oo->date_orig->format('Y-m-d') }} | {{ $oo->due_date->format('Y-m-d') }} | @@ -37,7 +39,16 @@ $(document).ready(function() { $('#{{ $widget_invoice_name ?? 'widget-invoice'}}').DataTable({ responsive: true, - order: [1, 'desc'] + order: [[0,'asc'],[3,'desc']], + rowGroup: { + dataSrc: 0, + }, + columnDefs: [ + { + targets: [0], + visible: false, + } + ], }); $('#{{ $widget_invoice_name ?? 'widget-invoice'}} tbody').on('click','tr', function () {