@extends('expenses.layouts.expense-layout') @section('title') Sales Report || @parent @stop @section('main-content')
Advance Filter

@if(count(Request::input())) Sales Report:
{{carbonDate($from, 'y-m-d')}} to {{carbonDate($to, 'y-m-d')}} @else Today's Sales @endif

@foreach($invoices as $invoice) @endforeach
Date Invoice No Items Client Total Paid Profit
{{carbonDate($invoice->date, 'y-m-d')}} #{{$invoice->invoice_no}}
    @foreach($invoice->sale_items as $item)
  • - {{$item->product->name}}
  • @endforeach
{!! ucfirst($invoice->client_info) !!} ৳ {{$invoice->total}} ৳ {{$invoice->paid}} ৳ {{$invoice->total - $invoice->total_cost_price}}
Total Sell: ৳ {{$invoices->sum('total')}}
Total Due: ৳ {{$invoices->sum('total') - $invoices->sum('paid')}}
Total Profit: ৳ {{$invoices->sum('total') - $invoices->sum('total_cost_price')}}
@stop @section('post-js') @stop