@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'), ]) {{ __('lang.select_type') }} {{ __('lang.general') }} {{ __('lang.sales') }} {{ $common::getDocumentationChargesLabel() }} {{ __('lang.type') }} {{ __('lang.select_payment_mode') }} {{ __('lang.all') }} {{ __('lang.cash') }} {{ __('lang.bank') }} {{ __('lang.online_transfer') }} {{ __('lang.other') }} {{ __('lang.payment_mode') }} @if ($check_approval) {{ __('lang.all') }} {{ __('lang.approved') }} {{ __('lang.not_approved') }} {{ __('lang.approval_status') }} @endif {{ __('lang.select_order') }} {{ __('lang.ascending') }} {{ __('lang.descending') }} {{ __('lang.sorting_order') }} @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'), ]) {{ __('lang.all') }} @foreach (App\Models\Common::sell_status(true, true) as $sell_status) {{ $sell_status }} @endforeach {{ __('lang.sale_status') }} @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 {{ __('lang.voucher_date') }} {{ __('lang.creation_date') }} {{ __('lang.detailed') }} {{ __('lang.summary') }} @include('admin.reports.partials.official_unofficial') @stop @push('include-css') @endpush @push('include-js') @endpush