@extends('layouts.admin') @section('title', '| Create coupons') @section('content')

{{ __('Create a Coupons / Discount') }}

{{ __('Coupon will automaticaly create on your stripe dashboard') }}
{!! csrf_field() !!}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('gateway_id')) {{ $errors->first('gateway_id') }} @endif
@if ($errors->has('percent_off')) {{ $errors->first('percent_off') }} @endif
@if ($errors->has('duration')) {{ $errors->first('duration') }} @endif
{{ ('Required only if duration is repeating, in which case it must be a positive integer that specifies the number of months the discount will be in effect.') }} @if ($errors->has('duration_in_months')) {{ $errors->first('duration_in_months') }} @endif

@endsection @push('styles') @endpush