Move category/category_name product::class methods into __get(), no functional changes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<!-- $pdo=Product::class [{{$pdo->category}}]-->
|
||||
@if(View::exists('theme.frontend.metronic.order.widget.info.'.$pdo->category))
|
||||
@if(View::exists('theme.frontend.metronic.order.widget.info.'.$pdo->category_lc))
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
{{-- Return Category Requirements --}}
|
||||
@include('theme.frontend.metronic.order.widget.info.'.$pdo->category)
|
||||
@include('theme.frontend.metronic.order.widget.info.'.$pdo->category_lc)
|
||||
|
||||
{{-- Return Supplier Requirements --}}
|
||||
{{-- Return Product Requirements --}}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<!-- $pdo=Product::class [{{$pdo->category}}] -->
|
||||
@if(View::exists('theme.frontend.metronic.order.widget.order.'.$pdo->category))
|
||||
@if(View::exists('theme.frontend.metronic.order.widget.order.'.$pdo->category_lc))
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Order Configuration</h3>
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<div class="box-body">
|
||||
{{-- Return Category Requirements --}}
|
||||
@include('theme.frontend.metronic.order.widget.order.'.$pdo->category)
|
||||
@include('theme.frontend.metronic.order.widget.order.'.$pdo->category_lc)
|
||||
|
||||
{{-- Return Supplier Requirements --}}
|
||||
{{-- Return Product Requirements --}}
|
||||
|
Reference in New Issue
Block a user