@extends('layouts.app') @section('stitle', __('messages.discount')) @section('title', __('messages.discount')) @php use App\Models\DiscountType; use App\Models\DiscountOption; @endphp @section('content')
{{$discount->name}}

@foreach ($discountType as $disType ) @if ($disType->id == $discount->discount_type_id)
{{$disType->name}}
@endif @endforeach
{{$discount->discount_amount}}

{{ $discount->minimum_product }}

{{$discount->minimum_product }}

{{ $discount->discontOption->name }}

{{-- @if ($discount->discount_type_id == $discountProduct || $discount->discount_type_id == $discountOrderAndProduct )--}} {{-- @include('discount.discount_product_view')--}} @if ($discount->discount_type_id == $discountOrder) @include('discount.discount_order_view') @endif
@endsection @push('my_scripts') @endpush