@extends('layouts.user') @push('css') @endpush @section('title')

@lang('Buy Rent Properties')

@lang('Dashboard')
@endsection @section('content')
@if (count($buy_rents) == 0) @else @foreach ($buy_rents as $key => $data) @endforeach @endif
@lang('Image') @lang('Transaction no') @lang('Name') @lang('Price') @lang('Type') @lang('Status') @lang('Options')

{{__('No Data Found')}}

{{ strtoupper($data->transaction_no) }}
{{ showNameAmount($data->property->price) }}
@if ($data->type== 'for_rent') @if ($data->rent_type == 'visit') {{ $data->rent_type }}

{{ Carbon\Carbon::parse($data->visit_date)->format('d M y ') }} {{ $data->schedule_time }}

@else {{ $data->rent_type }}

@lang('Rent ')/{{ $data->rent_duration }}

@endif @else @lang('Buy') @endif
@if ($data->status == 0) @lang('pending') @elseif($data->status == 1) @lang('approved') @elseif($data->status == 2) @lang('contract submission') @elseif($data->status == 3 && $data->phase == 5) @lang('pay now') @elseif($data->status == 3) @lang('contract submitted') @else @lang('rejected') @endif
{{ $buy_rents->links() }}
@endsection @push('js') @endpush