@extends('layouts.admin') @section('title', 'Tax Configuration Details') @section('content')
Tax Name: {{ $taxConfig->tax_name }}
Rate Type: {{ ucfirst($taxConfig->rate_type) }}
Rate: @if($taxConfig->rate_type === 'percentage') {{ $taxConfig->rate }}% @else KES {{ number_format($taxConfig->rate, 2) }} @endif
Minimum Amount: @if($taxConfig->min_amount) KES {{ number_format($taxConfig->min_amount, 2) }} @else Not set @endif
Status: @if($taxConfig->active) Active @else Inactive @endif
Effective From: {{ $taxConfig->effective_from->format('M j, Y') }}
Effective To: @if($taxConfig->effective_to) {{ $taxConfig->effective_to->format('M j, Y') }} @else Ongoing @endif
Created: {{ $taxConfig->created_at->format('M j, Y H:i') }}
Last Updated: {{ $taxConfig->updated_at->format('M j, Y H:i') }}
{{ $taxConfig->remarks }}