@extends ('core.layouts.app') @section ('title', trans('labels.backend.additionals.management') . ' | ' . trans('labels.backend.additionals.create')) @section('page-header')

{{ trans('labels.backend.additionals.management') }} {{ trans('labels.backend.additionals.create') }}

@endsection @section('content')

{{ trans('labels.backend.additionals.view') }}

@include('focus.additionals.partials.additionals-header-buttons')

{{trans('additionals.name')}}

{{$additional['name']}}

@if($additional['class']==1)

{{trans('additionals.value')}}

{{numberFormat($additional['value'])}}

@endif

{{trans('additionals.class')}}

@php switch ($additional['class']){ case 1 : echo trans('general.tax'); break; case 2 : echo trans('general.discount'); break; } @endphp

{{trans('additionals.type1')}}

@php switch (@$additional['type1']){ case '%' : echo '%'; break; case 'flat' : echo trans('additionals.flat'); break; case 'b_flat' : echo trans('additionals.b_flat'); break; case 'b_per' : echo trans('additionals.b_per'); break; } @endphp

@if($additional['class']==1)

{{trans('additionals.type2')}}

@php switch (@$additional['type2']){ case 'inclusive' : echo trans('additionals.inclusive'); break; case 'exclusive' : echo trans('additionals.exclusive'); break; } @endphp

{{trans('additionals.type3')}}

@php switch (@$additional['type3']){ case 'inclusive' : echo trans('additionals.inclusive'); break; case 'exclusive' : echo trans('additionals.exclusive'); break; case 'cgst' : echo trans('additionals.cgst'); break; case 'igst' : echo trans('additionals.igst'); break; } @endphp

@endif
@endsection