@extends('page') @section('content')

{{$product->product_name }}'s Details

@if ($message = Session::get('success'))
{{ $message }}
@endif
Product Image

{{$product->product_name }}

{{$product->product_code }}

{{$category->category }} @if($subcategory!=[]) @if($subcategory->category!=null) / {{$subcategory->category }} @endif @endif

{{$company->company_name }}

@if($product->status==1)

Active

@elseif($product->status==0)

Inactive

@endif

Product Info  Purchase Info

Product Details
{{$product->description}}
@if($product->quantity!=null)
{{$product->quantity}} {{$product->quantity_measured}}
@endif @if($product->expiry_period!=null)
{{$product->expiry_period }}
@endif @if($product->number_in_pack!=null)
{{$product->number_in_pack }}
@endif @if($product->packing_method!=null)
{{$product->packing_method}}
@endif
Brand Details
{{$product->brand_name }}
Label Preview
overlay image product label
overlay image product label
Warranty Details
{{$warranty_details->waranty_status}}
@if($warranty_details->waranty_status=='Yes')
@if($warranty_details->warranty_type=='1') Service @elseif($warranty_details->warranty_type=='2') Replacement @endif
@if($warranty_details->warranty_type=='1')
{{$warranty_details->full_product}}
@if($warranty_details->full_product=='Yes')
{{$warranty_details->s_warranty_count}} {{$warranty_details->s_warranty_duration}}
@else @php $x = 1; @endphp @if($product->partWarranty)
Part Name
Warranty Duration
@foreach($product->partWarranty as $parts)
{{$parts->part_name}}
{{$parts->part_warranty_count}} {{$parts->part_warranty_duration}}
@php $x++; @endphp @endforeach @endif @endif @endif @if($warranty_details->warranty_type=='2')
{{$warranty_details->r_warranty_count}} {{$warranty_details->r_warranty_duration}}
@endif @endif
{{$warranty_details->promotion_status}}
@if($warranty_details->waranty_status=='Yes' && $warranty_details->promotion_status=='Yes')
@include('template.authentication')
@endif
@include('components.dashboard.vertical')
@endsection