|
@@ -23,30 +23,22 @@
|
|
|
<td>{{ $record->name }}</td>
|
|
|
<td>{{ $record->state }}</td>
|
|
|
<td>
|
|
|
- @if(count($record->customers))
|
|
|
- <a href="{{route('invoice-center.customers')}}?companyUid={{$record->uid}}"
|
|
|
- class="mr-2"
|
|
|
- open-in-stag-popup
|
|
|
- update-parent
|
|
|
- title="{{$record->name}}: Customers"
|
|
|
- popup-style="stag-popup-med overflow-visible"
|
|
|
- mc-initer="invoice-center">{{count($record->customers)}} customer{{count($record->customers) === 1 ? '' : 's'}}</a>
|
|
|
- @else
|
|
|
- -
|
|
|
- @endif
|
|
|
+ <a href="{{route('invoice-center.customers')}}?companyUid={{$record->uid}}"
|
|
|
+ class="mr-2"
|
|
|
+ open-in-stag-popup
|
|
|
+ update-parent
|
|
|
+ title="{{$record->name}}: Customers"
|
|
|
+ popup-style="stag-popup-med overflow-visible"
|
|
|
+ mc-initer="invoice-center">{{count($record->customers)}} customer{{count($record->customers) === 1 ? '' : 's'}}</a>
|
|
|
</td>
|
|
|
<td>
|
|
|
- @if(count($record->giftCards))
|
|
|
- <a href="{{route('invoice-center.giftCards')}}?companyUid={{$record->uid}}"
|
|
|
- class="mr-2"
|
|
|
- open-in-stag-popup
|
|
|
- update-parent
|
|
|
- title="{{$record->name}}: Gift Cards"
|
|
|
- popup-style="stag-popup-med overflow-visible"
|
|
|
- mc-initer="invoice-center">{{count($record->giftCards)}} gift card{{count($record->giftCards) === 1 ? '' : 's'}}</a>
|
|
|
- @else
|
|
|
- -
|
|
|
- @endif
|
|
|
+ <a href="{{route('invoice-center.giftCards')}}?companyUid={{$record->uid}}"
|
|
|
+ class="mr-2"
|
|
|
+ open-in-stag-popup
|
|
|
+ update-parent
|
|
|
+ title="{{$record->name}}: Gift Cards"
|
|
|
+ popup-style="stag-popup-med overflow-visible"
|
|
|
+ mc-initer="invoice-center">{{count($record->giftCards)}} gift card{{count($record->giftCards) === 1 ? '' : 's'}}</a>
|
|
|
</td>
|
|
|
<td>{{ friendly_date($record->created_at) }}</td>
|
|
|
</tr>
|