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

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

{{ __('Update Coupon') }}
{!! csrf_field() !!} @method('PUT')
@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