@extends('layouts.fullscreen') @section('content')
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) |