@extends('admin.layout') @section('title', 'Detail Voucher') @section('content')
Total Penggunaan
{{ $voucher->used_count }}
@if($voucher->max_uses)dari {{ $voucher->max_uses }} maks.
@endifNilai Diskon
@if($voucher->type === 'percentage'){{ $voucher->discount_value }}% @else Rp {{ number_format($voucher->discount_value, 0, ',', '.') }} @endif
{{ $voucher->type === 'percentage' ? 'Persentase' : 'Nominal Tetap' }}
Status
{{ $voucher->status_label }}
{{ number_format($pct, 1) }}% terpakai
Penggunaan tidak dibatasi
@endif| Waktu | Identitas | Order ID | Diskon Diterapkan |
|---|---|---|---|
| {{ $usage->created_at->format('d M Y H:i') }} | {{ $usage->user_identifier ?? '-' }} | {{ $usage->order_id ?? '-' }} | Rp {{ number_format($usage->discount_applied, 0, ',', '.') }} |