@extends('layouts.app') @section('title') All Package Payments @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')Dealer Name: | {{ $dealer_package->dealer->name }} | ||
Dealer Code: | {{ $dealer_package->dealer->code }} | ||
Package Name: | {{ $dealer_package->package->name }} | ||
Package Total Amount: | {{ $dealer_package->package->total_price }} pkr | ||
Package Issue Date: | {{ $dealer_package->issue_date }} | ||
Paid Amount: | {{ $paid_amount }} pkr | ||
Remaining Amount: | {{ $dealer_package->package->total_price - $paid_amount }} pkr | ||
Rebate Type: | {{ $dealer_package->package->rebate_type }} | ||
Total Rebate: | {{ $dealer_package->package->rebate_amount }} pkr | @elseif($dealer_package->package->rebate_type == 'openfile')Remaining Rebate Amount: | {{ $dealer_package->package->remaining_rebate }} pkr | @endif
Payment Status: | @if ($dealer_package->payment_status == \App\DealerPackage::pending) Pending @elseif($dealer_package->payment_status == \App\DealerPackage::completed) Completed @endif | ||
Package Inventory: | @if ($dealer_package->is_approved == \App\DealerPackage::inventory_not_created) Not Created @elseif($dealer_package->is_approved == \App\DealerPackage::inventory_created) Created @endif |