@extends('layouts.sidebar') @section('content')

Kode Voucher

Buat Kode Voucher baru

@csrf
@if(session('success')) @elseif(session('danger')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Panduan

  1. Minimal nominal voucher adalah 5000
  2. Saldo anda akan di potong sesuai nominal voucher
  3. Saldo tidak akan dikembalikan jika menghapus voucher yang masih tersedia

Daftar Kode

@foreach($vouchers as $voucher) @endforeach
# Kode Nominal Status Action
{{ $loop->iteration }} {{ $voucher->code }} Rp {{ number_format($voucher->quantity) }} {{ $voucher->status }}
@method('delete') @csrf
@endsection