Laporan Campaign Voucher Detail

@if($search==='id') Unduh Laporan @else Search @endif
@forelse($detail as $item) @empty @endforelse
Nama Campaign Kode Voucher Berat Emas Nominal Emas Status Nama Customer Email Tanggal Register Has NPWP Tanggal Pakai
{{ $item->campaign }} {{ substr($item->voucher_code, 0, 4) . '***' . substr($item->voucher_code, -5) }} @if($item->gram) {{ $item->gram }} gram @endif @if($item->nominal) Rp. {{ number_format($item->nominal) }} @endif @if($item->status==0) Belum Terpakai @elseif($item->status==1) Terpakai @elseif($item->status==2) Diblok @elseif($item->status==-1) Belum Aktif @endif {{ $item->name }} {{ $item->email }} @if($item->created_at) {{ strftime('%d %B %Y %H:%M', strtotime($item->created_at)) }} @endif @if($item->npwp) yes @endif @if($item->tanggal_pakai) {{ strftime('%d %B %Y %H:%M', strtotime($item->tanggal_pakai)) }} @endif
No Data
@if(count($detail)>0)
{{ $detail->links() }}
Halaman : {{ $detail->currentPage() }}
Jumlah Seluruh Data : {{ $detail->total() }}
Tampilan Per Halaman : {{ $detail->perPage() }}
@endif