@extends('layouts.app') @section('title', 'Bandwidth Item Prices') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Bandwidth Item Prices

Add New Price
Cost Prices for Year: {{ $selectedYear }}
@forelse($bandwidthItems as $item) @for($month = 1; $month <= 12; $month++) @php $priceData = $priceMatrix[$item->id][$month] ?? null; @endphp @endfor @empty @endforelse
Bandwidth Item January February March April May June July August September October November December
{{ $item->name }} @if($priceData)
৳{{ number_format($priceData['cost_rate'], 2) }}
@if($priceData['gross_cost']) {{ number_format($priceData['gross_cost'], 2) }}% @endif
@else - @endif
No bandwidth items found.
@push('scripts') @endpush @endsection