@extends('admin.layout.layout')
@section('title', 'İlanlar')
@section('styles')
@parent
@stop
@section('content')
{{-- {{ dd($properties) }} --}}
Tüm İlanlar
İlan Ekle
@foreach($properties as $property)
@if ($property->post->tender_status != 2)
İlan Kodu
Banka
Emlak Tipi
Emlak Alt Tipi
İlan Başlığı
İl
İlçe
Durum
İşlem
@endif
@endforeach
{{ $property->post->code }}
{{ $property->post->bank->name }}
{{ config('enums.property_type')[$property->property_type] }}
@if (isset($property->house_type))
{{ config('enums.house_type')[$property->house_type] }}
@endif
@if (isset($property->workplace_type))
{{ config('enums.workplace_type')[$property->workplace_type] }}
@endif
@if (isset($property->land_type))
{{ config('enums.land_type')[$property->land_type] }}
@endif
@isset($property->post->title)
{{ $property->post->title }}
@endisset
{{ $property->country }}
{{ $property->district }}
{{ config('enums.tender_status')[$property->post->tender_status] }}
{{--
İhalesi Tamamlananlar
@foreach($properties as $property)
@if ($property->post->tender_status == 2)
İlan Kodu
Banka
Emlak Tipi
Emlak Alt Tipi
İlan Başlığı
İl
İlçe
Durum
İşlem
@endif
@endforeach
{{ $property->post->code }}
{{ $property->post->bank->name }}
{{ config('enums.property_type')[$property->property_type] }}
@if (isset($property->house_type))
{{ config('enums.house_type')[$property->house_type] }}
@endif
@if (isset($property->workplace_type))
{{ config('enums.workplace_type')[$property->workplace_type] }}
@endif
@if (isset($property->land_type))
{{ config('enums.land_type')[$property->land_type] }}
@endif
@isset($property->post->title)
{{ $property->post->title }}
@endisset
{{ $property->country }}
{{ $property->district }}
{{ config('enums.tender_status')[$property->post->tender_status] }}