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

Voucher Saldo

@csrf

Buat Kode Voucher baru

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

Panduan

  1. Minimal nominal voucher adalah {{ config('web_config')['CURRENCY_CODE'] }} {{Numberize::make(config('web_config')['MIN_VOUCHER'])}}
  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 }} {{ config('web_config')['CURRENCY_CODE'] }} {{ Numberize::make($voucher->quantity) }} {{ $voucher->status }}
@method('delete') @csrf
@endsection