@extends('layouts.admin') @section('style') @endSection @section('content')
@csrf @method('PUT')

Edit Promo Code: {{ $promo_code->code }}

@if ($errors->has('code')) {{ $errors->first('code') }} @endif Enter a unique promo code (e.g., SAVE20, WELCOME2024)
@if ($errors->has('max_use')) {{ $errors->first('max_use') }} @endif Maximum number of times this code can be used
@if ($errors->has('max_use_per_user')) {{ $errors->first('max_use_per_user') }} @endif Maximum number of times a single user can use this code
@if ($errors->has('reward_type')) {{ $errors->first('reward_type') }} @endif Type of reward to give when code is used
@if ($errors->has('reward_value')) {{ $errors->first('reward_value') }} @endif Amount/quantity of reward (number of points or chance amount) Select the voucher to be awarded when this code is used
Number of times this code has been used (from usage logs)
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@endsection @section('script') @endsection