@lang('app.product') @lang('app.details')

{{ ucwords($product->name) }} @if($product->category_id) @endif @if($product->sub_category_id) @endif
@if(!is_null($product->project_id))

{{ ucfirst($product->project->project_name) }}

@endif

{{ $price }}

@php $flag = 0; @endphp @foreach($taxes as $tax) @if (isset($product->taxes) && $product->taxes != "null" && array_search($tax->id, json_decode($product->taxes)) !== false) {{ $tax->tax_name }}: {{ $tax->rate_percent }}% @php $flag = 1; @endphp @endif @endforeach @if ($flag == 0) NA @endif

@if($product->description) {!! ucwords($product->description) !!} @else -- @endif