@extends('layouts.admin.app') @section('content') @if( Session::get('permissions.user_type') == 'A' || Session::get('permissions.user_type') == 'SA') Edit Coupon Back @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) {{ Session::get('alert-' . $msg) }} @endif @endforeach @csrf Coupon Edit Coupon Code* Discount Type* type=="F") checked @endif>Flat type=="P") checked @endif>Percent Related To* related_to=="C") checked @endif>Cart related_to=="U") checked @endif>User related_to=="O") checked @endif>Occasion Amount* @php $str = $dataDetails->start_date; $arr = explode(" ",$str); $str1 = $dataDetails->end_date; $arr1 = explode(" ",$str1); @endphp Start Date* End Date* Minimum Cart Amount* @endif @endsection