@extends('layouts.app') @section('content')
ФИО
{{ $contract->deal->user->name }}
Телефон
{{ $contract->deal->user->phone }}
@if ($contract->deal->user->email)
Email
{{ $contract->deal->user->email }}
@endif
{{ $contract->deal->complex->city->name }}
{{ $contract->deal->complex->name }}
Статус
{{ __('contract status ' . strtolower($contract->status)) }}
Дата обновления
{{ $contract->updated_at->format('d.m.y H:i') }}
Площадь объекта
{{ $contract->square }}
Этаж
{{ $contract->floor }}
Помещение
{{ $contract->room }}
Стоимость
{{ number_format($contract->price, 2, ',', ' ') }}
{{ $contract->payment_type }}
Вознаграждение
{{ number_format($contract->reward, 2, ',', ' ') }}
Комментарий к договору
{{ $contract->comment }}
История договора
@if ($contract->deal->notifications->count() == 0)
{{ __('notifications.has no history') }}
@else @foreach ($contract->deal->notifications as $notification)
{{ $notification->created_at }}
{{ $notification->data['text'] }}
@endforeach @endif
@endsection