@extends('tenant.rentals.rentals-tabs') @php $activeTab = 'rentals-tenantsActions'; @endphp @section('breadcrumb') @include('tenant.layouts.breadcrumb', [ 'items' => [ __('breadcrumb.rentals') => '/rentals', __('breadcrumb.tenant_movements') => '#', ], ]) @endsection @section('sidebar') @include('tenant.layouts.sidebar', ['activeItem' => 'rentals.tenant-actions']) @endsection @section('content-field')
@php $selected_action_types = request('action_types')?? []; @endphp
@php $selected_status = request('status')?? []; @endphp
@php $table_options = [ 'lang' => ['noAvailableData' => __('noAvailableData.no_tenants')], ]; @endphp @foreach ($tenant_actions as $tenant_action) @endforeach
# @lang('rentals/rental-tenant-actions/index.tenant') @lang('rentals/rental-tenant-actions/index.movement_type') @lang('rentals/rental-tenant-actions/index.movement_details') @lang('rentals/rental-tenant-actions/index.attachments') @lang('rentals/rental-tenant-actions/index.from_date') @lang('rentals/rental-tenant-actions/index.to_date') @lang('rentals/rental-tenant-actions/index.status') @lang('general.procedures')
{{ $loop->iteration }} {{ $tenant_action->tenant?->name ?? '---' }} {{ $tenant_action->action_type_as_text }} {{ $tenant_action->description }} @if ($tenant_action->rental_tenant_action_files) @php $files = (array)json_decode($tenant_action->rental_tenant_action_files); @endphp @foreach ($files as $file)
@csrf
@endforeach @else

@lang('rentals/rental-tenant-actions/index.no_attachments')

@endif
{{ $tenant_action->from_date }} {{ $tenant_action->to_date }} {{ $tenant_action->action_status_as_text }} @if ($tenant_action->status == 'pending')
@csrf
@csrf
@else --- @endif
@endsection