@extends('admin.layouts.app') @section('page_tab_title' ,"Copan code") @section('content') @if(empty($admin->id)) Create New code @else Edit code @endif id)) action="{{ route('coupancodeforpurchase.store') }}" @else action="{{ route('coupancodeforpurchase.update', $admin->id) }}" @endif > @csrf Coupan Code * @if ($errors->has('coupon_code_no')) {{ $errors->first('coupon_code_no') }} @endif Expiry Date * @if ($errors->has('expiry_date')) {{ $errors->first('expiry_date') }} @endif Max Use * @if ($errors->has('max_use')) {{ $errors->first('max_use') }} @endif Cost for between 20 to 100 * @if ($errors->has('between_20_to_100')) {{ $errors->first('between_20_to_100') }} @endif Cost for more than 100 * @if ($errors->has('more_than_100')) {{ $errors->first('more_than_100') }} @endif For Practitioner for_practitioner == 'yes') checked @endif /> Yes for_practitioner == 'no') checked @endif/> No Submit Cancel @endsection
{{ $errors->first('coupon_code_no') }}
{{ $errors->first('expiry_date') }}
{{ $errors->first('max_use') }}
{{ $errors->first('between_20_to_100') }}
{{ $errors->first('more_than_100') }}