@extends('admin.layout') @section('title', 'Buat Voucher') @section('content')

Buat Voucher

Isi form di bawah untuk membuat voucher baru

@csrf {{-- Kode Voucher --}}

Kode Voucher

@error('code')

{{ $message }}

@enderror

Kode akan digenerate otomatis (format: XXXX-XXXX)

{{-- Info Voucher --}}

Informasi Voucher

@error('name')

{{ $message }}

@enderror
{{-- Tipe Diskon --}}

Tipe Diskon

@error('discount_value')

{{ $message }}

@enderror
{{-- Batas Penggunaan & Validitas --}}

Batas & Validitas

Batal
@endsection