@extends('layouts.app') @section('title', 'Masters') @section('content')
@forelse($productTypes as $prod)
{{$prod->product_type_name}}       
Add Sub Product
@php $subpt = $prod->getSubProductType; @endphp @if(count($subpt) > 0) @foreach($subpt as $k1=> $a)
@if($a->sub_product_icon != NULL || $a->sub_product_icon != "" ) @else @endif  {{$a->subproduct_type_name}}
Add Component
@php $comp = $a->getProductComponent; @endphp @if(count($comp) > 0) @foreach($comp as $b)
@if($b->sub_product_component_icon != NULL || $b->sub_product_component_icon != "" ) @else @endif  {{$b->subproduct_component_name}}
@endforeach @endif
@endforeach @else @endif
@empty
Add Product
@endforelse
Statutory Detail
@foreach($statutorylist as $k=>$s_list) @endforeach
Sl no. Statutory Name Is Active Action
{{++$k}} {{ $s_list->statutory_name}}
is_active==1) checked @endif >
Pricing Detail
@foreach($mast_pricing as $k1=>$mp_list) @endforeach
Sl no. Sub Product Type Minimum Cost Action
{{++$k1}} {{ $mp_list->subproduct_type_name}} {{ ($mp_list->minimum_cost ? $mp_list->minimum_cost : "")}}
Production System
@foreach($prodsystem_list as $kk=>$prodsystem) @endforeach
Sl no. Sub Product Type Action
{{++$kk}} {{ $prodsystem->production_system_name}}
@endsection