فهرست منبع

modifiche colonne/filtri sezione ricevute

ferrari 3 ماه پیش
والد
کامیت
dbdd8b7273
3فایلهای تغییر یافته به همراه11 افزوده شده و 11 حذف شده
  1. 4 0
      public/css/new_style.css
  2. 7 9
      resources/views/livewire/receipt.blade.php
  3. 0 2
      resources/views/livewire/records_out.blade.php

+ 4 - 0
public/css/new_style.css

@@ -81,6 +81,10 @@ body #card--dashboard > .btn--ui:has(i[class*="fa-arrow-left"]) {
     color: white;
 }
 
+#setting h5 {
+    color: var(--color-text);
+}
+
 /* Login */
 .login--box .form--item label {
     width: 100%;

+ 7 - 9
resources/views/livewire/receipt.blade.php

@@ -23,7 +23,7 @@
             <div class="col-md-2">
                 <div class="row">
                     <div class="col-md-12" style="margin-bottom:10px;">
-                        <b>Periodo</b>
+                        <b>Periodo data ricevuta</b>
                     </div>
                     <div class="col-12 mb-2">
                         <input id="dateFrom" type="date" class="form-control filterFrom" name="txtFrom">
@@ -87,12 +87,11 @@
             <table class="table tablesaw tableHead tablesaw-stack table--lista_ricevute" id="tablesaw-350" width="100%">
                 <thead>
                     <tr>
-                        <th scope="col">Anno</th>
+                        <th scope="col">Data ricevuta</th>
                         <th scope="col">N°</th>
                         <th scope="col">Cognome</th>
                         <th scope="col">Nome</th>
                         <th scope="col">Stato</th>
-                        <th scope="col">Data</th>
                         <th scope="col">Importo</th>
                         <th scope="col">...</th>
                     </tr>
@@ -359,7 +358,7 @@
                 },
                 columns: [
                     {
-                        data: 'year'
+                        data: 'date'
                     },
                     {
                         data: 'number', className:"dt-type-numeric"
@@ -378,9 +377,6 @@
                             return ret;
                         }
                     },
-                    {
-                        data: 'date'
-                    },
                     {
                         data: 'totals', className:"dt-type-numeric"
                     },
@@ -448,8 +444,10 @@
                     "url": "/assets/js/Italian.json"
                 },
                 fnInitComplete: function (oSettings, json) {
-                    var html = '&nbsp;<a href="#" class="showHideFilter btn--ui"><i class="fa-solid fa-sliders"></i></a>';
-                    $(".dt-search").append(html);
+                    setTimeout(() => {
+                        var html = '&nbsp;<a href="#" class="showHideFilter btn--ui"><i class="fa-solid fa-sliders"></i></a>';
+                        $(".dt-search").append(html);
+                    }, 10)
                 }
             });
             $('#tablesaw-350 thead tr th').addClass('col');

+ 0 - 2
resources/views/livewire/records_out.blade.php

@@ -1810,8 +1810,6 @@
             localStorage.setItem("filterToRecordOut", filterTo);
 
             $('#tablesaw-350').DataTable({
-                serverSide: true,
-                processing: true,
                 ajax: {
                     url : "/get_record_out?filterSupplier=" + filterSupplier + "&filterPaymentMethod=" + filterPaymentMethod + "&filterCausals=" + filterCausals + "&filterFrom=" + filterFrom + "&filterTo=" + filterTo,
                     dataSrc: function (json){