@extends('layouts.app') @section('content')

{{ $tax->name }} @include('admin.common.drop-down-menu', [ 'links' => [ [ 'route' => 'admin.taxes.edit', 'title' => trans('global.app_edit'), 'type' => 'edit', 'icon' => '', 'permission_key' => 'tax_edit', ], [ 'route' => 'admin.taxes.destroy', 'title' => trans('global.app_delete'), 'type' => 'delete', 'icon' => '', 'redirect_url' => url()->previous(), 'permission_key' => 'tax_delete', ], ], 'record' => $tax, ] )

@if ( 'yes' === $show_page_heading )
@lang('global.app_view')
@endif
@can('tax_edit') @lang('global.app_edit') @endcan
@lang('global.taxes.fields.name') {{ $tax->name }}
@lang('global.taxes.fields.rate') {{ $tax->rate }}
@lang('global.taxes.fields.rate-type') {{ $tax->rate_type }}
@lang('global.taxes.fields.description') {!! clean($tax->description) !!}
@if ( 'active' === $tabs['invoices_active'] )
@include('admin.invoices.records-display')
@endif @if ( 'active' === $tabs['quotes_active'] )
@include('quotes::admin.quotes.records-display')
@endif @if ( 'active' === $tabs['recurring_invoices_active'] )
@include('recurringinvoices::admin.recurring_invoices.records-display')
@endif @if ( 'active' === $tabs['purchase_orders_active'] )
@include('admin.purchase_orders.records-display')
@endif @if ( 'active' === $tabs['credit_notes_active'] )
@include('admin.credit_notes.records-display')
@endif

 

@lang('global.app_back_to_list')
@stop @section('javascript') @if ( 'active' === $tabs['invoices_active'] ) @include('admin.invoices.records-display-scripts', ['type' => 'tax', 'type_id' => $tax->id ]) @endif @if ( 'active' === $tabs['quotes_active'] ) @include('quotes::admin.quotes.records-display-scripts', ['type' => 'tax', 'type_id' => $tax->id ]) @endif @if ( 'active' === $tabs['recurring_invoices_active'] ) @include('recurringinvoices::admin.recurring_invoices.records-display-scripts', ['type' => 'tax', 'type_id' => $tax->id ]) @endif @if ( 'active' === $tabs['purchase_orders_active'] ) @include('admin.purchase_orders.records-display-scripts', ['type' => 'tax', 'type_id' => $tax->id ]) @endif @if ( 'active' === $tabs['credit_notes_active'] ) @include('admin.credit_notes.records-display-scripts', ['type' => 'tax', 'type_id' => $tax->id ]) @endif @endsection