Created
January 5, 2021 21:09
-
-
Save jongravois/0094ce70247e2b1fda84cd4552c6b44a to your computer and use it in GitHub Desktop.
This file contains hidden or 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', 'Project GP Report') | |
<div class="relative"> | |
<div class="absolute right-0 mt-1 mr-1 z-50" wire:loading> | |
<x-icons.cog | |
class="mr-4 h-6 w-6 animate-spin text-red" /> | |
</div> | |
<div> | |
<div class="relative mt-4 p-4"> | |
<x-page.header title="Project GP Report"></x-page.header> | |
<div class="w-1/2 flex"> | |
<x-elements.search filterText="Filter ..." /> | |
</div> | |
<div class="px-8 py-2 space-y-4"> | |
<x-table header> | |
<x-slot name="head"> | |
<x-table.heading>Registration;</x-table.heading> | |
<x-table.heading>Description</x-table.heading> | |
<x-table.heading>MSN</x-table.heading> | |
<x-table.heading>GP%</x-table.heading> | |
<x-table.heading>Forecasted Net Sales</x-table.heading> | |
<x-table.heading>Actual Net Sales</x-table.heading> | |
<x-table.heading>Sold</x-table.heading> | |
<x-table.heading>Remaining</x-table.heading> | |
</x-slot> | |
<x-slot name="body"> | |
@foreach($projects as $proj) | |
<x-table.row class="{{$proj->getGPColor()}}"> | |
<x-table.text-cell :value="$proj->lot_code" /> | |
<x-table.text-cell :value="$proj->description" /> | |
<x-table.text-cell :value="$proj->msn" /> | |
<x-table.percentage-cell :value="($proj->fins->current_rate * 100)" /> | |
<x-table.currency-cell :value="$proj ->fins->forecasted_net_sales" /> | |
<x-table.currency-cell :value="$proj->fins->current_net" /> | |
<x-table.integer-cell :value="$proj->fins->parts_sold" /> | |
<x-table.integer-cell :value="$proj->fins->parts_remaining" /> | |
</x-table.row> | |
@endforeach | |
</x-slot> | |
</x-table> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment