@extends('layouts.app') @section('title', 'View Bandwidth Request - ISP ERP System') @section('page-title', 'View Bandwidth Request') @section('content')

Bandwidth Request Details

Request ID: #{{ $bandwidthUpdownRequest->id }}

Back to Requests @if($bandwidthUpdownRequest->status === 'pending') Edit @endif
@if(session('success')) @endif @if(session('error')) @endif
Request Information
User:

@if($bandwidthUpdownRequest->user) {{ $bandwidthUpdownRequest->user->company_name ? $bandwidthUpdownRequest->user->company_name . ' - ' . $bandwidthUpdownRequest->user->name : $bandwidthUpdownRequest->user->name }} @if($bandwidthUpdownRequest->user->email)
{{ $bandwidthUpdownRequest->user->email }} @endif @else - @endif

Request Type:

{{ ucfirst($bandwidthUpdownRequest->request_type) }}

Effective Date:

{{ $bandwidthUpdownRequest->effective_date ? $bandwidthUpdownRequest->effective_date->format('M d, Y') : '-' }}

Status:

{{ ucfirst($bandwidthUpdownRequest->status) }}

@if($bandwidthUpdownRequest->new_bandwidth_mbps)
New Bandwidth:

{{ number_format($bandwidthUpdownRequest->new_bandwidth_mbps, 2) }} Mbps

@endif @if($bandwidthUpdownRequest->currentSalesInvoice) @endif @if($bandwidthUpdownRequest->currentSalesInvoiceItem)
Current Sales Invoice Item:

{{ $bandwidthUpdownRequest->currentSalesInvoiceItem->item_name }}

@endif @if($bandwidthUpdownRequest->salesInvoice) @endif @if($bandwidthUpdownRequest->salesInvoiceItem)
Generated Sales Invoice Item:

{{ $bandwidthUpdownRequest->salesInvoiceItem->item_name }}

@endif @if($bandwidthUpdownRequest->notes)
Notes:

{{ $bandwidthUpdownRequest->notes }}

@endif
Actions & History
@if($bandwidthUpdownRequest->status === 'pending')
@csrf
@endif
Created By:

{{ $bandwidthUpdownRequest->creator ? $bandwidthUpdownRequest->creator->name : '-' }}
{{ $bandwidthUpdownRequest->created_at->format('M d, Y H:i') }}

@if($bandwidthUpdownRequest->approver)
Approved/Rejected By:

{{ $bandwidthUpdownRequest->approver->name }}
{{ $bandwidthUpdownRequest->approved_at ? $bandwidthUpdownRequest->approved_at->format('M d, Y H:i') : '-' }}

@endif
Last Updated:

{{ $bandwidthUpdownRequest->updated_at->format('M d, Y H:i') }}

@if($bandwidthUpdownRequest->status === 'pending') @endif @endsection @section('styles') @endsection