@extends('layouts.admin_layout') @section('title', 'Sales Report') @inject('DateConveterTrait', 'App\Http\Controllers\Administrators\ReportController') @section('content')
Sales Report
@csrf
@csrf
@csrf
@if(Auth::user()->user_type == 'super admin')
Branch
Select branch
@foreach($branches as $branch)
id) ? 'selected' : ''}}>{{$branch->branch_title}}
@endforeach
Collector
Select Collector
@foreach ($selectusers as $selectuser)
id) ? 'selected':''}}>{{$selectuser->name}}
@endforeach
Fiscal Year
Select Fiscal Year
@foreach ($fiscal_years as $fiscal)
id) ? 'selected':''}}>{{$fiscal->fiscal_year}}
@endforeach
@endif @if(Auth::user()->user_type == 'branch admin')
Collector
Select Collector
@foreach($my_users as $users)
id) ? 'selected' : ''}}>{{$users->name}}
@endforeach
@endif
Reset
@if(count($reports)>0) @foreach($reports as $billing_details)
Date(AD)
DATE(BS)
Bill No.
Buyer's Name
Buyer's PAN Number
Vat Amount
Total Amount
Non Taxable Sales
Export Sales
Discount
Amounts
Taxable Sales(Rs)
{{date('Y-m-d', strtotime($billing_details->created_at))}}