@extends('admin.layout.master')
@section('content')
View Coupon
-
@if(isset($details->coachings) && $details->all_coaching == 0)
@foreach($details->coachings as $res)
@if(isset($res->coachingNames))
@endif
@endforeach
{{trim($names, ' & ')}}
@else
All Coaching
@endif
-
{{$details->coupon_name}}
-
{{$details->coupon_code}}
-
{{(($details->discount_type == 0) ? 'Amount' : 'Percentage')}}
-
{!!(($details->discount_type == 0) ? '' : '')!!} {{$details->discount}} {{(($details->discount_type == 0) ? '' : '%')}}
-
{{$details->cart_min_value}}
-
{{$details->cart_max_value}}
-
{{date('d-m-Y H:i:s', strtotime($details->start_date))}} to {{date('d-m-Y H:i:s', strtotime($details->expiry_date))}}
-
{{$details->user_limit}}
@endsection
@section('scripts')
@endsection