| Voucher Id | Voucher | Currency | Discount | Discount Type | Duration | Expiry Date | Used by Customers | Action |
|---|---|---|---|---|---|---|---|---|
| {{$row->id}} | {{$row->discount_code}} | {{$row->currency}} | {{$row->discount}} | {{($row->discount_type)}} | {{($row->duration)}} | {{$row->expiry_date != "0000-00-00" ? date("d-m-Y",strtotime($row->expiry_date)) : ""}} |
{{--(count($row->usedbycustomers) ? ' '.count($row->usedbycustomers).' Customers' : 'None')--}}
{!!(count($row->usedbycustomers) ? 'View Details' : 'None')!!}
@if(false && count($row->usedbycustomers))
|
Constant Voucher
| Voucher Id | Voucher | Currency | Discount | Discount Type | Duration | Expiry Date |
|---|---|---|---|---|---|---|
| {{$refer_voucher->id}} | {{$refer_voucher->discount_code}} | {{$refer_voucher->currency}} | {{$refer_voucher->discount}} | {{($refer_voucher->discount_type)}} | {{($refer_voucher->duration)}} | {{($refer_voucher->no_of_months)}} |