@extends('agent.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('backend.partials.rtl-style') @section('content')
{{ __('Project Types') }}
@includeIf('agent.partials.languages')
{{ __('Add Project Type') }}
@if (count($types) == 0)

{{ __('NO PROJECT TYPES FOUND') }}

@else
@foreach ($types as $type) @endforeach
{{ __('Name') }} {{ __('Min Price') . ' (' . $settings->base_currency_text . ')' }} {{ __('Min Area (sqft)') }} {{ __('Total Unit') }} {{ __('Actions') }}
{{ strlen($type->title) > 50 ? mb_substr($type->title, 0, 50, 'UTF-8') . '...' : $type->title }} {{ $type->min_price }} {{ $type->min_area }} {{ $type->unit }} projectTypeContnents() ->where('language_id', $lang->id) ->first(); @endphp data-{{ $lang->code }}_name="{{ @$typeContnent->title }}" data-{{ $lang->code }}_min_area="{{ @$typeContnent->min_area }}" data-{{ $lang->code }}_max_area="{{ @$typeContnent->max_area }}" data-{{ $lang->code }}_min_price="{{ @$typeContnent->min_price }}" data-{{ $lang->code }}_max_price="{{ @$typeContnent->max_price }}" data-{{ $lang->code }}_unit="{{ @$typeContnent->unit }}" @endforeach>
@csrf
@endif
{{-- create modal --}} @include('agent.project.type.create') {{-- edit modal --}} @include('agent.project.type.edit') @endsection