@extends('layouts.master') @section('title', trans('messages.profit_report')) @section('content')
| {{ trans('messages.product') }} | {{ trans('messages.quantity_sold') }} | {{ trans('messages.total_revenue') }} | {{ trans('messages.total_cost') }} | {{ trans('messages.profit') }} | {{ trans('messages.profit_margin') }} % |
|---|---|---|---|---|---|
| {{ $profit['product']->name }} | {{ $profit['quantity_sold'] }} | {{ format_currency($profit['revenue']) }} | {{ format_currency($profit['cost']) }} | {{ format_currency($profit['profit']) }} | {{ number_format($profit['margin'], 2) }}% |
| {{ trans('messages.no_data') }} | |||||