@extends('layouts.app') @section('title', 'Gross Profit Report') @section('breadcrumb')Reports Gross Profit by Quote@endsection @section('content') @php $logoPath = \App\Models\AppSetting::get('company_logo'); $companyName = \App\Models\AppSetting::get('company_name','Degabriele Kitchens'); @endphp
| Description | Item Code | Units | Qty | W/Sale | Retail | Total W/Sale | Total Retail |
|---|---|---|---|---|---|---|---|
| {{ $item->description }} | {{ $item->item_code }} | {{ $item->unit }} | {{ number_format($item->qty,2) }} | ${{ number_format($item->wsale_price??0,2) }} | ${{ number_format($item->retail_price??$item->unit_price??0,2) }} | ${{ number_format($item->total_wsale??0,2) }} | ${{ number_format($item->total_retail??$item->total??0,2) }} |
| {{ $row['type_name'] }} Totals | ${{ number_format($row['total_wsale'],2) }} | ${{ number_format($row['total_retail'],2) }} | |||||
| Gross Profit ({{ $row['type_name'] }}) | ${{ number_format($row['gross_profit'],2) }} ({{ $row['margin_pct'] }}%) | ||||||
Select a quote above to generate the gross profit report.