@extends('layouts.admin') @section('title', 'Item Report') @section('content-header', 'Item Report') @section('content')
Method | Item Detail | Gross Sale (RM) | Total Percent by Method (%) | Branch Gross Sale (RM) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | SKUID | Category | Price (RM) | Tax (RM) | Quantity | Total Item (RM) | Total Tax (RM) | Total Misc (RM) | Overall Total Item (RM) | Category Total | ||||
{{$branch['BID']}} | ||||||||||||||
{{ $category }} | @endif{{ $item['sku_desc'] ?? 0 }} | {{ $item['sku_id'] ?? 0 }} | {{ $item['cno'] ?? 0 }} | @if ($item['quantity'] != 0) {{number_format(($item['sell_price'] - $item['misctotal'] - $item['tax_amt']) / $item['quantity'],2) }} @else 0 @endif | @if ($item['quantity'] != 0) {{number_format(($item['tax_amt']) / $item['quantity'],2) }} @else 0 @endif | {{ $item['quantity'] ?? 0 }} | {{ number_format($item['sell_price'] - $item['misctotal'] - $item['tax_amt'] ?? 0,2) }} | {{ number_format($item['tax_amt'] ?? 0,2) }} | {{ number_format($item['misctotal'] ?? 0,2) }} | {{ number_format($item['sell_price'] ?? 0,2) }} | @if ($item['cno'] != $previousCno){{number_format($categorycount[$i][$k][$l]['total'], 2)}} | @php $totalcategory += $categorycount[$i][$k][$l]['total']; $l++; @endphp @endif @if ($j == 0){{number_format($overallmethod[$i][$k]['sold'],2)}} | @if ($overallbranch[$i] != 0) {{ number_format(100 * ($overallmethod[$i][$k]['sold'] / $overallbranch[$i]), 0) }} @else 0% @endif | @php $totalmethod += $overallmethod[$i][$k]['sold']; $j = 1; @endphp @endif @if ($b == 0){{number_format($overallbranch[$i],2)}} | @php $totaloverallbranch += $overallbranch[$i]; $b = 1; @endphp @endif
{{ $category }} | - | - | - | - | - | - | - | - | - | - | - | - | - | |
Overall | - | - | - | - | - | {{$totalquantity}} | {{number_format($totalitemwithouttax,2)}} | {{number_format($totaltax,2)}} | {{number_format($totalmisc,2)}} | {{number_format($totaloverallitem,2)}} | {{number_format($totalcategory,2)}} | {{number_format($totalmethod,2)}} | - | |
Overal Item (RM) | {{number_format($totaloverall,2)}} | |||||||||||||
Overall Quantity | {{$totaloverallquantity}} | |||||||||||||
Overall Tax (RM) | {{number_format($totaloveralltax,2)}} | |||||||||||||
Overall Misc (RM) | {{number_format($totaloverallmisc,2)}} | |||||||||||||
Overall Gross Sale (RM) | {{number_format($totaloverallbranch,2)}} |