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

Package Inventory

Total Package Inventory Created: {{count($pending_packages->openFileDealerInfo)}}
@php $i=0; @endphp @foreach ($pending_packages->package->packageDetail as $item) @php $i= 1 + $i; @endphp @php $val= \App\OpenFileDealerInfo::getDetail($pending_packages->id,$item->unitType->id,$item->unitSize->id); @endphp @if(!empty($val)) @php $count= count($val); @endphp @if( $count == $item->unit_quantity || $count > $item->unit_quantity ) @else @endif @else @endif @endforeach
Unit Type Size Total Quantity No of Inventory Created Add Inventory Quantity Action
@if($pending_packages->inventory_status == \App\DealerPackage::inventory_not_created)
{{ csrf_field() }}
@endif

  Package Information

{{-- --}}
Project: {{$pending_packages->multiProject?$pending_packages->multiProject->name:'None'}} Dealer Name: {{$pending_packages->dealer->name}} Dealer Code: {{$pending_packages->dealer->code}} Package Name: {{$pending_packages->package->name}} Package Total Amount: {{$pending_packages->package->total_price}} PKR
Package Issue Date: {{$pending_packages->issue_date}} Paid Amount: {{$paid_amount}} PKR Remaining Amount: {{ $pending_packages->package->total_price - $paid_amount }} PKR Request Paid Amount: {{$pending_packages->amount}} PKR
Payment Status: @if($pending_packages->payment_status == \App\DealerPackage::pending) Pending @elseif($pending_packages->payment_status == \App\DealerPackage::completed) Completed @endif Package Inventory: @if($pending_packages->inventory_status == \App\DealerPackage::inventory_not_created) Not Created @elseif($pending_packages->inventory_status == \App\DealerPackage::inventory_created) Created @endif Total Package Inventory: {{$pending_packages->package->packageDetail->sum('unit_quantity')}} Total Package Inventory Created: {{count($pending_packages->openFileDealerInfo)}}
@stop @section('js') @stop