@extends('layouts.template') @section('template')

SALES REPORT

{!! csrf_field() !!}

@if(isset($start_date)) Print/Download as PDF @endif
List Sales
@php $total = 0; @endphp @if(isset($date_to_date_sales)) @foreach($date_to_date_sales as $key => $data) @php $total += ($data->quantity*$data->sales_price); @endphp @endforeach @endif
Sl No. Item Qty Price Invoice No
{{ ++$key }} {{ $data->item_name }} {{ $data->quantity }} {{ $data->sales_price }} {{$globalSettings->invoice_prefix."-BI-".str_pad($data->sales_master_id, 8, '0', STR_PAD_LEFT)}}

Total Amount: {{ number_format($total,2) }}

@endsection