pdf.blade.php
6.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="<?=csrf_token() ?>">
<title>{{$house[0]->title}}</title>
<link rel="shortcut icon" href="{{ asset('images/favicon.png')}}" type="image/x-icon">
<style type="text/css">
* {
font-family: "DejaVu Sans", sans-serif;
}
.font {
font-family: "DejaVu Sans", sans-serif;
}
</style>
<link rel="stylesheet" href="{{ asset('css/swiper-bundle.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/style_main.css') }}">
</head>
<body>
<? //if (!empty($house[0]->foto_main)) {?>
<!--<img src="<?//=public_path().'/storage/app/public/'.$house[0]->foto_main;?>" width="450px"/>
<!--<img src="<?//=public_path().'/images/footer-bg.jpg';?>" />-->
<?//} ?>
<? if (!empty($house[0]->foto_main)) {?>
<img src='data:image/png;base64,{{ $house['image'] }}' width="450px">
<? } ?>
<div class="wrapper_">
<a href="{{ route('offer', ['house' => $house[0]->id]) }}">{{ route('offer', ['house' => $house[0]->id]) }}</a>
<main>
<!-- Основной контент -->
<h2>{{ $house[0]->title }} {{ $house[0]->address }}</h2>
<div class="offer__lines">
<div class="offer__line"><span><b>Метро:</b> {{ $house[0]->metro }}</span></div>
<div class="offer__line"><span><b>Доступность метро:</b> {{ $house[0]->description_metro }}</span></div>
<div class="offer__line"><span><b>Округ: </b>{{ $house[0]->okrug }}</span></div>
<? if ($house[0]->format_house == "Продажа") {?>
<div class="offer__line"><span><b>Цена:</b> {{ $house[0]->price }} ₽</span></div>
<? } else {?>
<div class="offer__line"><span><b>Аренда в год за м2:</b> {{ $house[0]->rent_in_year }} ₽</span></div>
<div class="offer__line"><span><b>Аренда в месяц:</b> {{ $house[0]->price }} ₽</span></div>
<? } ?>
<div class="offer__line"><span><b>Схема сделки:</b> {{ $house[0]->scheme_deal }}</span></div>
<div class="offer__line"><span><b>Площадь, м2:</b> {{ $house[0]->area }}</span></div>
<div class="offer__line"><span><b>Адрес: </b>{{ $house[0]->address }}</span></div>
<div class="offer__line"><span><b>Тип объекта: </b> {{ $house[0]->typearea->name_type }}</span></div>
<div class="offer__line"><span><b>Формат:</b> {{ $house[0]->format_house }}</span></div>
<div class="offer__line"><span><b>Этаж:</b> {{ $house[0]->floor }} эт.</span></div>
<div class="offer__line"><span><b>Этажность здания:</b> {{ $house[0]->floor_bild }} эт.</span></div>
<div class="offer__line"><span><b>Арендаторы:</b> {{ $house[0]->renter }}</span></div>
<!--<div class="offer__line"><span>Состояние объекта</span><span><?// $house->sos_obj ?></span></div>-->
<div class="offer__line"><span><b>Тип планировки: </b>{{ $house[0]->type_plan }}</span></div>
<div class="offer__line"><span><b>Наличие зоны разгрузки:</b> <? if($house[0]->uploading_area == 1) {?>Есть<?} else {?>Нет<?}?></span></div>
<div class="offer__line"><span><b>Электрическая мощность:</b> {{ $house[0]->electric_power }} кВт</span></div>
<!--<div class="offer__line"><span>Проездное</span><span><? //if($house->travel_card == 1) {?>Есть<?//} else {?>Нет<?//}?></span></div>-->
<!--<div class="offer__line"><span>Проходное место</span><span><?// if($house->passing_place == 1) {?>Есть<?//} else {?>Нет<?//}?></span></div>-->
<div class="offer__line"><span><b>Отдельный вход: </b><? if($house[0]->separate_input == 1) {?>Есть<?} else {?>Нет<?}?></span></div>
<div class="offer__line"><span><b>Витрины: </b><? if($house[0]->shop_windows == 1) {?>Есть<?} else {?>Нет<?}?></span></div>
<!--<div class="offer__line"><span>Место для рекламы</span><span><?// if($house->place_advertising == 1) {?>Есть<?//} else {?>Нет<?//}?></span></div>-->
<!--<div class="offer__line"><span>Окна</span><span><? //$house->windows ?></span></div>-->
<div class="offer__line"><span><b>Вытяжка:</b> <? if($house[0]->hood == 1) {?>Есть<?} else {?>Нет<?}?></span></div>
<!--<div class="offer__line"><span>Центральное отопление</span><span><? //if($house->central_hearing == 1) {?>Есть<?//} else {?>Нет<?//}?></span></div>-->
<div class="offer__line"><span><b>Возможные часы работы:</b> {{ $house[0]->opening_hours }}</span></div>
<div class="offer__line"><span><b>Отделка:</b> <? if($house[0]->finishing == 1) {?>Есть<?} else {?>Нет<?}?></span></div>
<div class="offer__line"><span><b>Парковка:</b> {{ $house[0]->parking }} мест</span></div>
<div class="offer__line"><span><b>Описание:</b> {{ $house[0]->description_2 }} </span></div>
</div>
<div class="offer-descr">
<span><b>Описание объекта</b></span>
<span>{{ $house[0]->description_house }}</span>
</div>
</main>
</div>
</body>
</html>