@php $headers = [ (object)['name'=>trans('admin::promotion.title.header'),'url'=>route('promotion.v2.index')], (object)['name'=>trans('admin::promotion.title.detail')], ]; $backURL = old('back_url',redirect()->back()->getTargetUrl()); if($backURL == url()->current()) { $backURL = null; } $editURL = route('promotion.v2.edit',['id'=>$promotion->id ?? 0]); // Check Permission Edit if($editURL == $backURL) { $backURL = null; } $deleteURL = route('promotion.v2.delete',['guid'=>$guid]); $rEdit = true; @endphp @extends('shared.admin') @section('breadcrumb') @include('admin.components.elements.breadcrumb',[ 'header' => $headers, 'action' => 'detail', ]) @endsection @section('content')
@include('promotions.components.information')
@include('components.views.seo',[ 'seo' => $promotion ])
@endsection