@extends('layouts.fullscreen') @section('content')
Cost of Sales Analysis Report - [Detailed Report]
Report for Today: {{request()->date == null ? $dayClose->day_close : request()->date }}, Related Branch: {{request()->branch == null ? "All Branches" : request()->branch }}
@foreach($cos as $report) @endforeach
Date Product Category Quantity Net Amt({{empty($app->currency) ? "GHS" : $app->currency}}) Gross Amt({{empty($app->currency) ? "GHS" : $app->currency}}) Cost({{empty($app->currency) ? "GHS" : $app->currency}}) Cost(%) Profit({{empty($app->currency) ? "GHS" : $app->currency}}) Profit(%)
{{$report->date}} {{@strtoupper($report->item_name)}} {{@strtoupper($report->category)}} {{$report->quantity}} @convert($report->net_amount) @convert($report->gross_amount) @convert($report->cost) @convert(($report->cost/($report->net_amount == 0 ? 1 :$report->net_amount))*100) @convert($report->net_amount - $report->cost) @convert((($report->net_amount - $report->cost)/($report->net_amount == 0 ? 1 :$report->net_amount))*100)
@include('modal.branch-sales-analysis')
@endsection