@extends( 'layouts.app') @section('title') Price List Detail @stop @section('breadcrumb') @stop @section('content')
@php $size= ''; if($projectType->id == \App\ProjectType::society){ $size= \App\ProjectType::society_size; } else { $size= \App\ProjectType::high_rise_size; } @endphp

Price List Details


Price List No: {{ $pricelist->l_no }}
Project Type: {{ $pricelist->projecttype ? $pricelist->projecttype->name : 'NIL' }}
@if($projectType->id == \App\ProjectType::society)

@foreach ($pricelist->pricedetail as $p) @endforeach
Sr. No. Unit Type Unit Size Price per {{ $size }} (PKR) Total Price (PKR)
{{ $count++ }} {{ $p->unittype->name }} {{ $p->unitSize?$p->unitSize->name:'' }} {{$size}} {{ $p->per_size_price }} {{ $p->total_price }}
@endif @if($projectType->id == \App\ProjectType::high_rise)

@foreach ($pricelist->pricedetail as $p) @endforeach
Sr. No. Unit Floor Unit Type Price per {{ $size }} (PKR)
{{ $count++ }} {{$p->unitfloor? $p->unitfloor->name:'' }} {{ $p->unittype->name }} {{ $p->per_size_price }}
@endif
@stop