Created
January 19, 2021 20:33
-
-
Save jongravois/69906e17c52894b260f0ec608c036c6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@push('pagetitle', 'Company Harvester') | |
<x-page.spinner-layout> | |
<x-page.header title="Company Harvester"> | |
<div>{{collect($companies)->count()}}</div> | |
</x-page.header> | |
<div class="px-8 py-4 space-y-4"> | |
<div class="w-full"> | |
<x-table header> | |
<x-slot name="head"> | |
<x-table.heading class="w-1/5">Code</x-table.heading> | |
<x-table.heading class="w-1/5">Company</x-table.heading> | |
<x-table.heading class="w-3/5">Sales</x-table.heading> | |
</x-slot> | |
<x-slot name="body"> | |
@forelse($companies as $company) | |
<livewire:customers.company-row | |
:company="$company" :key="$company['id']" /> | |
@empty | |
<x-table.row> | |
<td colspan="3"><strong>No unclaimed companies</strong></td> | |
</x-table.row> | |
@endforelse | |
</x-slot> | |
</x-table> | |
</div> | |
</div> | |
</x-page.spinner-layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment