@extends('admin.layouts.master') @section('title','Create a new Coupon') @include('admin.layouts.topbar',$data) @section('maincontent')
{{ __('Create a new Coupon') }}
{{__('Back')}}
@csrf
{{ __('Coupon Code') }}:
*
{{ __('Discount Type') }}:
*
{{ __('Fix Amount') }}
% {{ __('Percentage') }}
{{ __('Amount') }}:
*
{{ __('Linked to') }}:
*
{{ __('Select an Option') }}
{{ __('Link to Course') }}
{{ __('Link to Cart') }}
{{ __('Link to Category') }}
{{ __('Link to Bundle') }}
{{ __('Coupon Code Display On Front') }}:
({{ __('If Choose Yes then Coupon Code shows to all users') }})
{{ __('Select Course') }}:
*
{{ __('Select an Option') }}
@foreach (App\Course::where('status', '1')->get() as $product) @if ($product->type == 1)
{{ $product['title'] }} - {{ $product->discount_price }}{{ $currency->currency }}
@endif @endforeach
{{ __('Select Bundle') }}:
*
{{ __('SelectanOption') }}
@foreach (App\BundleCourse::where('status', '1')->get()->sortByDesc('updated_at') as $product) @if ($product->type == 1)
{{ $product['title'] }} @isset($product->billing_interval) - {{ $product->discount_price }} {{ $currency->currency }} / {{ $product->billing_interval }} @endisset()
@endif @endforeach
{{ __('Select Categories') }}:
*
{{ __('SelectanOption') }}
@foreach (App\Categories::where('status', '1')->get() as $category)
{{ $category['title'] }}
@endforeach
{{ __('Min Amount') }}:
{{ __('Expiry Date') }}:
{{ __('Max Usage Limit') }}:
*
{{__('Reset')}}
{{__('Create')}}
@endsection @section('scripts') @endsection