Ver Fonte

"Gift card" => "Voucher" => on-click-show

Vijayakrishnan há 3 anos atrás
pai
commit
fa1cf09efa

+ 1 - 1
resources/views/app/invoice-center/companies.blade.php

@@ -38,7 +38,7 @@
                            update-parent
                            title="{{$record->name}}: Vouchers"
                            popup-style="stag-popup-med overflow-visible"
-                           mc-initer="invoice-center">{{count($record->giftCards)}} gift card{{count($record->giftCards) === 1 ? '' : 's'}}</a>
+                           mc-initer="invoice-center">{{count($record->giftCards)}} voucher{{count($record->giftCards) === 1 ? '' : 's'}}</a>
                     </td>
                     <td>{{ friendly_date($record->created_at) }}</td>
                 </tr>

+ 1 - 1
resources/views/layouts/invoice-center.blade.php

@@ -16,7 +16,7 @@ $routeName = request()->route()->getName();
 						<a class="nav-link {{ strpos($routeName, 'invoice-center.customers') === 0 ? 'active' : '' }}" href="{{ route('invoice-center.customers') }}">Customers</a>
 					</li>
 					<li class="nav-item">
-						<a class="nav-link {{ strpos($routeName, 'invoice-center.giftCards') === 0 ? 'active' : '' }}" href="{{ route('invoice-center.giftCards') }}">Gift Cards</a>
+						<a class="nav-link {{ strpos($routeName, 'invoice-center.giftCards') === 0 ? 'active' : '' }}" href="{{ route('invoice-center.giftCards') }}">Vouchers</a>
 					</li>
 					<li class="nav-item">
 						<a class="nav-link {{ strpos($routeName, 'invoice-center.invoices') === 0 ? 'active' : '' }}" href="{{ route('invoice-center.invoices') }}">Invoices</a>