FabioFratini 9 mesi fa
parent
commit
4ff67a08cd

+ 4 - 1
public/css/extra.css

@@ -5,6 +5,9 @@
 .numericCol{
     text-align: right !important;
 }
+.dateCol{
+    text-align: center !important;
+}
 .paddingLeftSelect0
 {
     font-weight: bold;
@@ -27,4 +30,4 @@ table.tableHead thead {
 ::-webkit-scrollbar-thumb {
     background: #e4e4e4 !important;
     border-radius: 10px;
-}
+}

+ 3 - 3
resources/views/livewire/course_member.blade.php

@@ -647,7 +647,7 @@
                     'th': { 'background-color': 'blue' }
                 },
                 columns: [
-                    { data: 'column_0' },
+                    { data: 'column_0',className:'numericCol' },
                     { data: 'column_8' },
                     {
                         data: 'column_1',
@@ -663,8 +663,8 @@
                             return ret;
                         }
                     },
-                    { data: 'column_3' },
-                    { data: 'column_4' },
+                    { data: 'column_3' ,className:'numericCol'},
+                    { data: 'column_4',className:'numericCol' },
                     { data: 'column_9'  },
                     { data: 'column_5' },
                     {

+ 2 - 2
resources/views/livewire/member.blade.php

@@ -2396,8 +2396,8 @@
                         }
                     },
                     { data: "phone"},
-                    { data: "age", "type": "num"},
-                    { data: "year"},
+                    { data: "age", "type": "num",class:"numericCol"},
+                    { data: "year",class:"numericCol"},
                     {
                         data: "status",
                         render: function (data){

+ 4 - 4
resources/views/livewire/receipt.blade.php

@@ -85,7 +85,7 @@
             <thead>
                 <tr>
                     <th scope="col">Anno</th>
-                    <th scope="col">Numero</th>
+                    <th scope="col">N°</th>
                     <th scope="col">Cognome</th>
                     <th scope="col">Nome</th>
                     <th scope="col">Stato</th>
@@ -345,10 +345,10 @@ $(document).ready(function () {
                 },
                 columns: [
                     {
-                        data: 'year'
+                        data: 'year', className: "numericCol"
                     },
                     {
-                        data: 'number'
+                        data: 'number', className: "numericCol"
                     },
                     {
                         data: 'last_name'
@@ -365,7 +365,7 @@ $(document).ready(function () {
                         }
                     },
                     {
-                        data: 'date'
+                        data: 'date', className: "numericCol"
                     },
                     {
                         data: 'totals'

+ 2 - 2
resources/views/livewire/records_in.blade.php

@@ -131,7 +131,7 @@
                 <thead>
                     <tr>
                         <!--<th scope="col"></th>-->
-                        <th scope="col">Data di pagamento</th>
+                        <th style="text-align: right" scope="col">Data di pagamento</th>
                         <th scope="col">Importo</th>
                         <th scope="col">Cognome</th>
                         <th scope="col">Nome</th>
@@ -1247,7 +1247,7 @@
                             const d = j[0].split("-");
                             var ret = d[2] + "/" + d[1] + "/" + d[0];
                             return ret;
-                        }
+                        },class:"numericCol"
                     },
                     { data: 'total', className: "numericCol" },
                     { data: 'last_name' },

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

@@ -212,7 +212,7 @@
                             </div>
 
                             <div class="col-md-6">
-                                <span class="title-form d-block w-100">Data di Pagamento</span>
+                                <span class="title-form d-block w-100 text-right">Data di Pagamento</span>
                                 <div class="input-group mb-3">
                                     <input id="date" type="date" class="form-control"  wire:model="date">
                                 </div>
@@ -826,7 +826,7 @@
                             const d = j[0].split("-");
                             var ret = d[2] + "/" + d[1] + "/" + d[0];
                             return ret;
-                        }
+                        }, className: "numericCol"
                     },
                     { data: 'total', className: "numericCol" },
                     { data: 'supplier' },