@extends('master') @section('content') @php $currency = \App\Models\Setting::first()->currency; @endphp
@include('admin.layout.breadcrumbs', [ 'title' => __('Tax'), ])
@if (session('status')) @endif

{{ __('View Tax') }}

@can('tax_create') @endcan
@if (Gate::check('tax_edit') || Gate::check('tax_delete')) @endif @foreach ($taxes as $item) @if ($item->amount_type == 'percentage') @else @endif @if (Gate::check('tax_edit') || Gate::check('tax_delete')) @endif @endforeach
{{ __('name') }} {{ __('Charges') }} {{ __('Allow in all bills') }} {{ __('Status') }}{{ __('Action') }}
{{ $item->name }}{{ $item->price }}{{ '%' }}{{ $currency . $item->price }} {{ $item->allow_all_bill == 1 ? 'Allow' : 'Deny' }} {{ $item->status == 1 ? 'Active' : 'Inactive' }} @can('tax_edit') @endcan @can('tax_delete') @endcan
@endsection