@extends('admin.layouts') @section('title', 'Category Wise Sales') @section('content')
Sales performance by category and subcategory
Profit performance by category and subcategory
| SNO | CATEGORY NAME | SUBCATEGORY | BILLS | QUANTITY | SALES AMOUNT | SALES % | COST | PROFIT | PROFIT % | ACTION |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $category['category_name'] }} | @if(!empty($category['subcategory_name'])) {{ $category['subcategory_name'] }} @else N/A @endif | {{ $category['bills'] }} | {{ rtrim( rtrim( number_format( $category['quantity'], 3, '.', '' ), '0' ), '.' ) }} | ₹{{ number_format( $category['sales_amount'], 2 ) }} | {{ number_format( $category['sales_percentage'], 2 ) }}% | ₹{{ number_format( $category['cost_amount'], 2 ) }} | @if($category['profit'] >= 0) ₹{{ number_format( $category['profit'], 2 ) }} @else ₹{{ number_format( $category['profit'], 2 ) }} @endif | {{ number_format( $category['profit_percentage'], 2 ) }}% | @if(!empty($category['category_id'])) View @else - @endif |
|
No sales found. |
||||||||||
No category sales are available for the selected filters.