@extends('layouts.app') @section('title', 'Event Management') @section('content')
| Budget Name | Code | Total Budget | Allocated | Utilization | Actions |
|---|---|---|---|---|---|
| {{ $budget->name }} | {{ $budget->budget_code }} | LKR {{ number_format($budget->total_budget, 2) }} | LKR {{ number_format($budget->allocated_amount, 2) }} |
@php
$ratio = $budget->total_budget > 0 ? $budget->allocated_amount / $budget->total_budget : 0;
$percent = min(100, round($ratio * 100));
$colorClass = $percent > 90 ? 'bg-danger' : ($percent > 70 ? 'bg-warning' : 'bg-primary');
@endphp
|
|
| No budgets identified in the registry. | |||||
| Supplier Name | Code | Contact Person | Contact Phone | Status | Actions |
|---|---|---|---|---|---|
| {{ $supplier->name }} | {{ $supplier->code }} | {{ $supplier->contact_person }} | {{ $supplier->contact_phone }} | {{ $supplier->is_active ? 'Active' : 'Inactive' }} | |
| No partner suppliers registered. | |||||