@extends('layouts.admin.master') @section('title', 'Tax Sales Report') @section('vendor-style') @endsection @section('vendor-script') @endsection @section('content')
@if(count($errors) > 0) @endif @if($message = Session::get('success')) @endif
@csrf
@if(isset($sales) && count($sales) > 0)
@if(isset($reports['branch']) && !empty($reports['branch'])) Branch: {{ $reports['branch'] }} @endif
Date: {{ $reports['dates'] }} Export To Excell
@foreach($sales as $sale) @endforeach
# Invoice Date Invoice No Customer Name GSTIN Invoice Value Rate Taxable Value Cess Amount
{{ $loop->iteration }} {{ $sale->sale_date }} {{ $sale->invoice_no }} - ({{ $sale->tax_type }}) {{ $sale->customer->name }} {{ $sale->customer->gstin }} {{ $sale->grand_total }} {{ $sale->cgst }} {{ $sale->taxable_amount_sum }} {{ round((($sale->total_taxable_amt) * ($sale->cess / 100)), 2) }}
@endif
@endsection