@extends('layouts.admin') @section('title' , 'Company Product Report') @section('breadcrumb-item')
Margin Product Report
| Company Name | |
| Booker Name | |
| Start Date | |
| End Date |
| {{ empty($company_name) ? 'No Company' : $company_name }} | ||||||||||||||
| # | Product Name | Distributor Price | Cost Price | Sales Tax | Additional Sales Tax | Total Price | Sale Qty | Bonus | Total Qty | Cost Amount | Amount | Margin % | Margin | |
| {{ $loop->iteration }} | {{ $product['product_name'] }} | {{ $product['price'] }} | {{ $product['cost_price'] }} | {{ $product['sale_tax'] ?? 0 }} | {{ $product['additional_sale_tax'] ?? 0 }} | {{ $product['price'] + ($product['sale_tax'] ?? 0) + ($product['additional_sale_tax'] ?? 0) }} | {{ $product['quantity'] }} | {{ $product['bonus'] }} | {{ $product['bonus'] + $product['quantity'] }} | {{ $product['cost_amount'] }} | {{ $product['amount'] }} | {{ round((($product['amount'] - $product['cost_amount']) / $product['cost_amount']) * 100, 2) }}% | @if($product['margin_amount'] >= 0){{ $product['margin_amount'] }} | @else{{ $product['margin_amount'] }} | @endif
| Total | Qty: {{ $products['quantity_total'] }} | Cost Amount: {{ $products['cost_amount_total'] }} | Amount: {{ $products['amount_total'] }} | |||||||||||
| Grand Total: | {{ $result['grand_total'] ?? 0 }} |
| Grand Quantity Total: | {{ $result['grand_quantity_total'] ?? 0 }} |
| Grand Margin Total: | {{ $result['grand_margin_amount_total'] ?? 0 }} |
| {{ $date }} | ||||||||||||||
| {{ empty($company_name) ? 'No Company' : $company_name }} | ||||||||||||||
| # | Product Name | Distributor Price | Cost Price | Sales Tax | Additional Sales Tax | Total Price | Sale Qty | Bonus | Total Qty | Cost Amount | Amount | Margin % | Margin | |
| {{ $loop->iteration }} | {{ $product['product_name'] }} | {{$product['price']}} | {{$product['cost_price'] ?? $product['price']}} | {{ $product['sale_tax'] ?? 0 }} | {{ $product['additional_sale_tax'] ?? 0 }} | {{ $product['price'] + ($product['sale_tax'] ?? 0) + ($product['additional_sale_tax'] ?? 0) }} | {{ $product['quantity'] }} | {{ $product['bonus'] }} | {{ $product['bonus'] + $product['quantity'] }} | {{ $product['cost_amount'] }} | {{ $product['amount'] }} | {{ round((($product['amount'] - $product['cost_amount']) / $product['cost_amount']) * 100, 2) }}% | @if($product['margin_amount'] >= 0){{ $product['margin_amount'] }} | @else{{ $product['margin_amount'] }} | @endif
| Total | Qty: {{ $records['total'][$company_name]['quantity'] ?? '' }} | Amount: {{ $records['total'][$company_name]['amount'] ?? '' }} | ||||||||||||
| No records found | ||||||||||||||