@inject('Arr', Illuminate\Support\Arr) @inject('Site', Modules\Site\Entities\Site) @inject('Material', Modules\Material\Entities\Material) @inject('MaterialType', Modules\MaterialType\Entities\MaterialType) @extends('layout.default') {{-- Styles Section --}} @section('styles') @endsection {{-- Content --}} @section('content') @php $prepare_set = $stock_statement_data; @endphp

{{ $page_title }}

@php $favourite = \Modules\User\Entities\Favourite::where(['user_id'=> auth()->user()->id,'route_name' => request()->route()->getName()])->count(); @endphp
@php if(request('to_date') != null){ $to_date_value = date("Y-m-d", strtotime(request('to_date'))); }else{ $to_date_value = date("Y-m-d", strtotime($to_date)); } if(request('from_date') != null){ $from_date_value = date("Y-m-d", strtotime(request('from_date'))); }else{ $from_date_value = date("Y-m-d", strtotime($from_date)); } @endphp

Clear @if(request()->get('type') && request()->get('type') == "report") @can('reports.stockstatementreport_pdf') @endcan @endif
@if($prepare_set->count() > 0)
@if(request()->get('type') && request()->get('type') == "report") @include('stockledger::reports.stockstatement.table') @endif
@if(!empty($prepare_set))
{{ $prepare_set->appends(request()->query())->links() }} {{-- --}}
@if(!empty($prepare_set))
@if($prepare_set->count() >0) Showing {{ $prepare_set->firstItem() }} to {{ $prepare_set->lastItem() }} of {{ $prepare_set->total() }} entries @else No entries found @endif
@endif
@endif @else @endif
@endsection @section('scripts') @endsection