@extends('layouts.app')
@section('title')
Package Details
@stop
@section('breadcrumb')
- Home
- All Packages List
- Package Details
@stop
@section('content')
@php
$size= '';
if($projectType->id == \App\ProjectType::society){
$size= \App\ProjectType::society_size;
}
else
{
$size= \App\ProjectType::high_rise_size;
}
@endphp
Package Details
Sr. No: |
{{ $count++ }} |
Package Name: |
{{ $package->name }} |
Inventory Price List |
{{ $package->pricelist->l_no }} |
Package Price |
PKR {{ $package->total_price }} |
Total Rebate |
PKR {{ $package->rebate_amount ? $package->rebate_amount : 'NIL' }} |
Delivered Rebate In: |
{{ $package->rebate_type }} |
@if( $package->rebate_type == 'openfile')
Remaining Rebate In: |
PKR {{ $package->remaining_rebate }} |
@endif
@if( $package->rebate_type == 'cash' )
Package Open Files
Sr. No. |
Unit Type |
Size |
No. of Files |
Per File Dealer Down Payment |
Per File Rebate |
@foreach ($package->packageDetail as $p)
@if ($p->rebate_file == 0)
{{ $count++ }} |
{{ $p->unittype->name }} |
{{ $p->unitSize->name }} {{$size}} |
{{ $p->unit_quantity }} |
PKR {{ $p->dealer_downpayment }} |
PKR {{ $p->dealer_rebate }} |
@endif
@endforeach
@else
Package Open Files
Sr. No. |
Unit Type |
Size |
No. of Files |
Per File Dealer Down Payment |
Per File Rebate |
@foreach($package->packageDetail as $p)
@if($p->rebate_file == 0)
{{ $count++ }} |
{{ $p->unittype->name }} |
{{ $p->unitSize->name }} {{$size}} |
{{ $p->unit_quantity }} |
PKR {{ $p->dealer_downpayment }} |
PKR {{ $p->dealer_rebate }} |
@endif
@endforeach
Dealer Rebate Open Files
Sr. No. |
Unit Type |
Size |
No. of Files |
Per File Dealer Down Payment |
Per File Rebate |
@foreach($package->packageDetail as $p)
@if($p->rebate_file == 1)
{{ $count++ }} |
{{ $p->unittype->name }} |
{{ $p->unitSize->name }} {{$size}} |
{{ $p->unit_quantity }} |
PKR {{ $p->dealer_downpayment }} |
PKR {{ $p->dealer_rebate }} |
@endif
@endforeach
@endif
@stop
@section('js')
@stop