@extends('layouts.admin') @section('title', 'HS Codes Management') @section('content')
Manage Harmonized System codes and their tax configurations
| HS Code | Description | Duty Type | Duty Value | Excise | Sensitive | Last Updated | Actions |
|---|---|---|---|---|---|---|---|
| {{ $hsCode->hs_code }} | {{ Str::limit($hsCode->description, 50) }} | {{ ucfirst($hsCode->default_duty_type) }} | @if($hsCode->default_duty_type === 'percentage') {{ $hsCode->default_duty_value }}% @else KES {{ number_format($hsCode->default_duty_value, 2) }} @endif | @if($hsCode->excise_applicable) Yes @else No @endif | @if($hsCode->sensitive) Yes @else No @endif | {{ $hsCode->updated_at->format('M j, Y') }} | @include('partials.admin.tables.action-buttons', [ 'viewUrl' => route('admin.hs-codes.show', $hsCode->id), 'editUrl' => route('admin.hs-codes.edit', $hsCode->id), 'deleteUrl' => route('admin.hs-codes.destroy', $hsCode->id) ]) |