Browse Source

receipt - tolto default "Sede legale"

ferrari 3 weeks ago
parent
commit
ad939fe473
1 changed files with 5 additions and 1 deletions
  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