@extends('layouts.admin.master') @section('title', 'Purchase Return 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($purchases) && count($purchases) > 0)
@if(isset($reports['branch']) && !empty($reports['branch'])) Branch: {{ $reports['branch'] }} @endif
Date: {{ $reports['dates'] }} Export To Excell
@foreach($purchases as $purchase) @endforeach
# Date Invoice No Vendor GSTIN Item 28% CGST 14% CGST 14% Item 18% CGST 9% SGST 9% Item 12% CGST 6% SGST 6% Item 5% CGST 2.5% SGST 2.5% Item 0% CGST 0% SGST 0% Total Freight
{{ $loop->iteration }} {{ $purchase->sale_date }} {{ $purchase->invoice_no }} {{ $purchase->vendor->name }} {{ $purchase->vendor->gstin }} {{ $purchase->taxtwentyeight_amount }} {{ $purchase->taxtwentyeight_cgstamount }} {{ $purchase->taxtwentyeight_sgstamount }} {{ $purchase->taxeighteen_amount }} {{ $purchase->taxeighteen_cgstamount }} {{ $purchase->taxeighteen_sgstamount }} {{ $purchase->taxtwelve_amount }} {{ $purchase->taxtwelve_cgstamount }} {{ $purchase->taxtwelve_sgstamount }} {{ $purchase->taxfive_amount }} {{ $purchase->taxfive_cgstamount }} {{ $purchase->taxfive_sgstamount }} {{ $purchase->taxzero_amount }} {{ $purchase->taxzero_cgstamount }} {{ $purchase->taxzero_sgstamount }} {{ $purchase->grand_total }} {{ $purchase->freight_coolie }}
Total {{ $purchases->sum('taxtwentyeight_amount') }} {{ $purchases->sum('taxtwentyeight_cgstamount') }} {{ $purchases->sum('taxtwentyeight_sgstamount') }} {{ $purchases->sum('taxeighteen_amount') }} {{ $purchases->sum('taxeighteen_cgstamount') }} {{ $purchases->sum('taxeighteen_sgstamount') }} {{ $purchases->sum('taxtwelve_amount') }} {{ $purchases->sum('taxtwelve_cgstamount') }} {{ $purchases->sum('taxtwelve_sgstamount') }} {{ $purchases->sum('taxfive_amount') }} {{ $purchases->sum('taxfive_cgstamount') }} {{ $purchases->sum('taxfive_sgstamount') }} {{ $purchases->sum('taxzero_amount') }} {{ $purchases->sum('taxzero_cgstamount') }} {{ $purchases->sum('taxzero_sgstamount') }} {{ $purchases->sum('grand_total') }} {{ $purchases->sum('freight_coolie') }}
@endif
@endsection