@extends('layouts.admin') @section('title', 'Tax Configurations') @section('content')
Manage tax rates and rules (VAT, IDF, RDL, Excise, Import Duty)
| Tax Name | Rate Type | Rate | Min Amount | Status | Effective From | Effective To | Actions |
|---|---|---|---|---|---|---|---|
|
{{ $taxConfig->tax_name }}
@if($taxConfig->remarks)
{{ Str::limit($taxConfig->remarks, 30) }} @endif |
{{ ucfirst($taxConfig->rate_type) }} | @if($taxConfig->rate_type === 'percentage') {{ $taxConfig->rate }}% @else KES {{ number_format($taxConfig->rate, 2) }} @endif | @if($taxConfig->min_amount) KES {{ number_format($taxConfig->min_amount, 2) }} @else - @endif | @if($taxConfig->active) Active @else Inactive @endif | {{ $taxConfig->effective_from->format('M j, Y') }} | @if($taxConfig->effective_to) {{ $taxConfig->effective_to->format('M j, Y') }} @else - @endif | @include('partials.admin.tables.action-buttons', [ 'viewUrl' => route('admin.tax-configs.show', $taxConfig->id), 'editUrl' => route('admin.tax-configs.edit', $taxConfig->id), 'deleteUrl' => route('admin.tax-configs.destroy', $taxConfig->id) ]) |