{{ __($module_title) }} {{ __($module_action) }}
@lang(':module_name Management Dashboard', ['module_name' => Str::title($module_name)])
@include('backend.includes.show')
@if (count($items) > 0)
Products
|
#
|
Product Name
|
Qty
|
Attribute
|
@php
$count = 0;
$count1 = 0;
@endphp
@foreach ($items as $item)
@if ($item->parent_id == 0)
@php
$count = $count + 1;
$count1 = 0;
@endphp
| {{ $count }} |
{{ $item->product_name }} |
{{ $item->qty }} |
{{ get_enquiry_attribute($item->attribute_value) }} |
@endif
@if ($item->parent_id != 0)
@php $count1=$count1+1; @endphp
| {{ $count }}.{{ $count1 }} |
{{ $item->product_name }} |
{{ $item->qty }} |
{{ get_enquiry_attribute($item->attribute_value) }} |
@endif
@endforeach
@endif
@if (count($packageitems) > 0)
Packages
|
#
|
Product Name
|
{{--
Qty
| --}}
@php
$oldname = '';
@endphp
@foreach ($packageitems as $item)
@php
$newname = $item->package_name;
@endphp
@if ($newname != $oldname)
| Package Name : {{ $item->package_name }} |
@endif
| {{ $loop->iteration }} |
{{ $item->product_name }} |
{{-- | --}}
@php
$oldname = $item->package_name;
@endphp
@endforeach
@endif