@php $common = new \App\Models\Common(); $check_approval = $common->check_approval('RV'); $is_recovery_module = isRecoveryModule(); @endphp @extends('layouts.app') {{-- Important Variables --}} @section('title') {{ $report_name }} @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content')

{{ $report_name }}

{{ __('lang.receipts_report') }}


{{ csrf_field() }} @include('layouts.components.select_field', [ 'col' => 4, 'name' => 'branch_id', 'options' => App\Models\Branch::userProjects()->get(), 'default_option' => __('lang.all_projects'), 'label' => __('lang.project'), ])
@if ($check_approval)
@endif
@include('layouts.components.select_field', [ 'col' => 4, 'name' => 'created_by[]', 'options' => App\Models\User::get()->map(function ($user) { return ['id' => $user->email, 'name' => $user->name]; }), 'default_option' => __('lang.select_user'), 'label' => __('lang.created_by'), 'multiple' => true, ])
@include('admin.partials.module_type_select', [ 'label' => __('lang.module_name'), ])
@include('layouts.components.input_field', [ 'col' => 4, 'name' => 'receipt_no', 'label' => __('lang.receipt_no'), ]) @include('layouts.components.input_field', [ 'col' => 4, 'name' => 'registration_no', 'label' => __('lang.registration_no'), ]) @include('layouts.components.date_field', [ 'col' => 2, 'name' => 'from', 'label' => __('lang.from'), ]) @include('layouts.components.date_field', [ 'col' => 2, 'name' => 'to', 'label' => __('lang.to'), ]) @include('layouts.components.select_field', [ 'col' => 4, 'name' => 'floor_id', 'options' => App\Models\PropertyFloor::get(), 'default_option' => __('lang.select_floor'), 'label' => __('lang.floor'), ]) @if($is_recovery_module) @include('layouts.components.select_field', [ 'col' => 4, 'name' => 'agent_id', 'options' => App\Models\User::get(), 'default_option' => __('lang.select_agent'), 'label' => __('lang.agent'), ]) @endif
@include('admin.reports.partials.official_unofficial')
@stop @push('include-css') @endpush @push('include-js') @endpush