@if(Session::has('success')) @elseif(Session::has('error')) @endif



{{tc('new')}} @foreach($flats as $flat) @endforeach
{{tc('status')}} {{tc('area')}} {{tc('floor')}} {{tc('action')}}
@if($flat->status ==1){{tc('sold')}}@else {{tc('free')}} @endif № {{$flat->flatnum}} {{$flat->area}} M² {{$flat->floor}} {{tc('floor')}} {{tc('edit')}} {{tc('remove')}}
{{$flats->render()}}
{{ csrf_field() }}

{{tc('new')}} @foreach($project->floors()->orderBy('floor','DESC')->get() as $floor) @endforeach
{{tc('floor')}} {{tc('action')}}
{{$floor->floor}} {{tc('floor')}} {{tc('edit')}} {{tc('remove')}}
{{--flats--}} {{--flats--}} {{--remove flat--}} {{--remove flat--}} {{--remove floor--}} {{--remove floor--}} {{--floors--}} {{--floors--}}