@extends('layouts.app') @section('title') Dealer Package Detail @stop @section('breadcrumb')
@stop @section('css') @stop @section('content'){{$dealer_package->package->name}} Package @if($dealer_package->payment_status == \App\DealerPackage::pending) Pending @elseif($dealer_package->payment_status == \App\DealerPackage::completed) Completed @endif
Issue Date {{$dealer_package->issue_date}}
Rebate Type | {{$dealer_package->package->rebate_type}} |
Rebate Amount | Rs: {{$dealer_package->package->rebate_amount}} |
Paid Rebate Amount | Rs: {{$package_paid_rebate}} |
Remaining Rebate Amount | Rs: {{$dealer_package->package->remaining_rebate}} |
Unit Number | Size | Type | Status | Expiry Date | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$info->inventory->unit_number}} | {{ $info->inventory->size->name }} {{ env('SIZE') }} | {{$info->inventory->type->name}} | {{--{{$info->inventory->status}} | --}} @role('admin') @else @endrole @if($admin) @if($info->inventory->status == \App\Inventory::open)Open | @elseif($info->inventory->status == \App\Inventory::package_open_file)Open/Dealer Package File | @elseif($info->inventory->status == \App\Inventory::sold)Sold | @elseif($info->inventory->status == \App\Inventory::hold_client)Client Hold | @elseif($info->inventory->status == \App\Inventory::hold_company)Company Hold | @elseif($info->inventory->status == \App\Inventory::token_hold)Token Hold | @elseif($info->inventory->status == \App\Inventory::temp_hold)Temporary Hold | @else {{----}} @endif @else @if($info->inventory->status == \App\Inventory::open) | Open | @elseSold | @endif @endif{{$info->valid_until_date}} |