FabioFratini пре 9 месеци
родитељ
комит
ef23a43ad8

+ 1 - 1
public/css/style.css

@@ -16535,7 +16535,7 @@ a:hover, a:visited {
 
 
 table.dataTable th.dt-type-numeric,
 table.dataTable th.dt-type-numeric,
 table.dataTable td.dt-type-numeric {
 table.dataTable td.dt-type-numeric {
-  /*text-align: left !important;*/
+  text-align: right !important;
 }
 }
 
 
 .dt-buttons .buttons-collection.dropdown-toggle:hover {
 .dt-buttons .buttons-collection.dropdown-toggle:hover {

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

@@ -1142,7 +1142,7 @@
                                                             <td style="width:70%;border:0px;" colspan="3">
                                                             <td style="width:70%;border:0px;" colspan="3">
                                                                 <b>{{$member_course->course->name}}</b><br>
                                                                 <b>{{$member_course->course->name}}</b><br>
                                                             </td>
                                                             </td>
-                                                            
+
                                                             <td style="text-align:right;width:15%;border:0px;">
                                                             <td style="text-align:right;width:15%;border:0px;">
                                                                 @php
                                                                 @php
                                                                 $status = $member_course->getStatus();
                                                                 $status = $member_course->getStatus();
@@ -1162,8 +1162,8 @@
                                                                     </div>
                                                                     </div>
                                                                 </div>
                                                                 </div>
                                                             </td>
                                                             </td>
-                                                            
-                                                            
+
+
                                                         </tr>
                                                         </tr>
                                                         <tr>
                                                         <tr>
                                                             <td style="width:20%">
                                                             <td style="width:20%">
@@ -1206,9 +1206,9 @@
                                                                 @endif
                                                                 @endif
                                                             </td>
                                                             </td>
                                                             <td style="width:30%" colspan="2">
                                                             <td style="width:30%" colspan="2">
-                                                                {{date("d/m/Y", strtotime($member_course->date_from))}} - {{date("d/m/Y", strtotime($member_course->date_to))}}                                                                
+                                                                {{date("d/m/Y", strtotime($member_course->date_from))}} - {{date("d/m/Y", strtotime($member_course->date_to))}}
                                                             </td>
                                                             </td>
-                                                            
+
                                                         </tr>
                                                         </tr>
                                                         @if(in_array($member_course->id, $showCourse))
                                                         @if(in_array($member_course->id, $showCourse))
                                                             @if(false)
                                                             @if(false)
@@ -2416,8 +2416,8 @@
                         }
                         }
                     },
                     },
                     { data: "phone"},
                     { data: "phone"},
-                    { data: "age", "type": "num"},
-                    { data: "year"},
+                    { data: "age", "type": "num", className:"dt-type-numeric"},
+                    { data: "year", className:"dt-type-numeric"},
                     {
                     {
                         data: "status",
                         data: "status",
                         render: function (data){
                         render: function (data){

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

@@ -58,7 +58,7 @@
             <div class="col-md-3">
             <div class="col-md-3">
                 <div class="row">
                 <div class="row">
                     <div class="col-md-12" style="margin-bottom:10px;">
                     <div class="col-md-12" style="margin-bottom:10px;">
-                        <b>Cerca Utente</b>
+                        <b>Utente</b>
                     </div>
                     </div>
                     <div class="col-12">
                     <div class="col-12">
                         <select class="form-select filterMember" wire:model="filteredMemberId">
                         <select class="form-select filterMember" wire:model="filteredMemberId">
@@ -87,7 +87,7 @@
             <thead>
             <thead>
                 <tr>
                 <tr>
                     <th scope="col">Anno</th>
                     <th scope="col">Anno</th>
-                    <th scope="col">Numero</th>
+                    <th scope="col">N°</th>
                     <th scope="col">Cognome</th>
                     <th scope="col">Cognome</th>
                     <th scope="col">Nome</th>
                     <th scope="col">Nome</th>
                     <th scope="col">Stato</th>
                     <th scope="col">Stato</th>
@@ -350,7 +350,7 @@
                         data: 'year'
                         data: 'year'
                     },
                     },
                     {
                     {
-                        data: 'number'
+                        data: 'number', className:"dt-type-numeric"
                     },
                     },
                     {
                     {
                         data: 'last_name'
                         data: 'last_name'
@@ -370,7 +370,7 @@
                         data: 'date'
                         data: 'date'
                     },
                     },
                     {
                     {
-                        data: 'totals'
+                        data: 'totals', className:"dt-type-numeric"
                     },
                     },
                     {
                     {
                         data: "action",
                         data: "action",

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

@@ -1249,7 +1249,7 @@
                             return ret;
                             return ret;
                         }
                         }
                     },
                     },
-                    { data: 'total'},
+                    { data: 'total',  className:"dt-type-numeric"},
                     { data: 'last_name' },
                     { data: 'last_name' },
                     { data: 'first_name' },
                     { data: 'first_name' },
                     { data: 'commercial' },
                     { data: 'commercial' },