@extends('admin.layouts.app') @section('content')
ID | Category Name | Sub Category Name | Product Name | Addon Name | Addon price | Addon Image | Addon Description | Status | Action | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$result->id }} | @if($result->category->category_name){{$result->category->category_name }} | @else@endif @if($result->subcategory->name) | {{$result->subcategory->name ?? '' }} | @else@endif @if($result->product->product_name) | {{$result->product->product_name }} | @else@endif | {{ucfirst($result->name)}} | {{$result->price}} | {!! $result->description !!} |
|
@php $prodID = Crypt::encrypt($result->id); @endphp
{{ Form::open(['route' => ['productAddon.destroy', $result->id], 'method' => 'delete']) }}
{{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }}
{{ Form::close() }}
|