@extends('layouts.app') @section('title', 'Ecommerce Products') @section('custom-css') @endsection @section('content')
| # | {{ __('pages.Date') }} | {{ __('pages.Num Orders') }} | {{ __('pages.Num Items Sold') }} | {{ __('pages.Total Cost') }} | {{ __('pages.Total Sale') }} | {{ __('pages.Loss') }} | {{ __('pages.Profit') }} | |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ date('F m, Y', strtotime($pl->order_date)) }} | {{ $pl->num_orders }} | {{ $pl->num_items_sold }} | {{setting('currency')}}{{ number_format($pl->total_cost,2) }} | {{setting('currency')}}{{ number_format($pl->total_sale,2) }} | {{setting('currency')}}{{ number_format(($pl->total_sale < $pl->total_sale ? $pl->total_sale - $pl->total_cost : 0),2) }} | {{setting('currency')}}{{ number_format(($pl->total_sale - $pl->total_cost),2) }} | |
{{ __('pages.No Data Avaiable') }} |
||||||||