# | @if($_type=='request_update') | Y/c sửa | @endifMS | Số nhà | Tên đường {{----}} {{----}} | Phường/Xã {{----}} {{----}} | Quận/Huyện {{----}} {{----}} | Tỉnh/TP | Ghi chú | Ngang | Dài | DT | Kết cấu | Hướng | Giá | Giá m2 | @if($_type=='update.image')Anh hiện trạng | Giấy tờ chủ quyền | @endifHiện trạng | Trạng thái | Ngày tạo |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{++$start}} | @if($_type=='request_update') | @if($product->request_update) @if(auth()->guard('backend')->user()->can('products.request.update.detail')) {{$product->request_update}} @endif @else - @endif | @endif@if($_type=='callback') {{$product->id}} @elseif($_type=='owned') @if(auth()->guard('backend')->user()->can('products.owned.edit')) {{$product->id}} @endif @else @if(auth()->guard('backend')->user()->can('products.edit')) {{$product->id}} @else {{$product->id}} @endif @endif |
@if(auth()->guard('backend')->user()->account_position==\App\Models\CoreUsers::ACCOUNT_POSITION_SECRETARY&&$_type=='callback')
{{$product->home_number?$product->home_number:'n/a'}}
@else
{{$product->home_number?$product->home_number:'n/a'}}
@endif
@if($product->home_number_note) (số cũ {{$product->home_number_note}}) @endif |
{{isset($product->street->name)?$product->street->name:'n/a'}} @if($product->old_street) {{$product->old_street->name}} @endif |
{{isset($product->ward->name)?str_replace('Phường','P.', $product->ward->name):'n/a'}} | {{isset($product->district->name)?str_replace('Quận','Q.', $product->district->name):'n/a'}} | {{isset($product->province->name)?str_replace('Thành phố','TP.',$product->province->name):'n/a'}} | {{-- ...--}} ... | {{(float)$product->horizontal}} | {{(float)$product->vertical}} | {{(float)$product->area}} | {{$product->home_structure_text}} | @foreach($home_direction as $st) @if($st['id']==$product->home_direction) {{$st['name']}} @break @endif @endforeach | {{$product->price.' '.$product->price_type_name}} | {{number_format($product->price_per_square_meters)}} | @if($_type=='update.image')
|
|
@endif
@foreach($status as $st) @if($st['id']==$product->status) {{$st['name']}} @break @endif @endforeach | @foreach($censorship as $st) @if($st['id']==$product->status_censorship) {{$st['name']}} @break @endif @endforeach | {{date('H:i d/m/Y',strtotime($product->created_at))}} |
- | --}} {{--