Plugin Example
This page showcases how easily you can add a plugin’s JS/CSS assets and init it using custom JS code.
{{$pageTitle}} Report Table
{{-- --}}
@if ($message = Session::get('success'))
{{ $message }}
@endif
| # | Invoice No. | Ordered By | Ordered On | Product Count/Qty | Purchase Price | Sold Price | Profit |
|---|---|---|---|---|---|---|---|
| {{++$i}} | {{ $singleOrder->invoice_no }} | {{ $singleOrder->name }} {{ $singleOrder->mobile }} |
{{ $singleOrder->created_date }} | {{$singleOrder->total_product}}/{{$singleOrder->total_qty}} | {{$singleOrder->total_price}} | {{$singleOrder->total_purchase_price}} | {{$singleOrder->total_profit}} |
| Total | {{$order->sum('total_product')}}/{{$order->sum('total_qty')}} | {{$order->sum('total_price')}} | {{$order->get()->sum('total_purchase_price')}} | {{$order->get()->sum('total_profit')}} | |||