Explorar el Código

receipt - tolto default "Sede legale"

ferrari hace 4 meses
padre
commit
ad939fe473
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      resources/views/receipt.blade.php

+ 5 - 1
resources/views/receipt.blade.php

@@ -189,7 +189,11 @@
                     ]);
                     $location = implode(' ', $locationParts);
                 @endphp
-                {{ $location ?: 'Sede legale' }} li {{date("d/m/Y", strtotime($display_date))}}
+                @if ($location)
+                    {{ $location }} li {{date("d/m/Y", strtotime($display_date))}}
+                @else
+                    {{date("d/m/Y", strtotime($display_date))}}
+                @endif
             @else
                 {{date("d/m/Y", strtotime($display_date))}}
             @endif