{{ __("cfp.Event") }} VOUCHERS
@include('cfp.components.error_alert')
| # | {{ __("cfp.NewVoucher") }} | {{ __("cfp.Type") }} | {{ __("cfp.Item") }} | {{ __("cfp.Amount") }} | {{ __("cfp.Missing") }} | {{ __("cfp.Creator") }} | {{ __("cfp.Start") }} | {{ __("cfp.Finish") }} | {{ __("cfp.Actions") }} |
|---|---|---|---|---|---|---|---|---|---|
| {{ $voucher->SRL }} | @if ($voucher->ACTIVE_YN == 'Y') {{ $voucher->CODE }} @else {{ __("cfp.CodeDescInactive1") }} {{ __("cfp.Inactive") }}. @endif | {{ $voucher->DELIVER_TYPE == 0 ? "Item" : "ZP" }} | @if (isset($voucher->item->SHORT_NAME) && $voucher->DELIVER_TYPE == 0) item->SHORT_NAME }}"> {{ $voucher->item->SHORT_NAME ?? "Item inválido" }} @else {{ number_format($voucher->DELIVER_ID) }} ZP @endif | {{ $voucher->USE_CNT }} | {{ $voucher->USE_LEFT_CNT }} | {{ $voucher->creator->NICK ?? "N/A" }} | {{ Helper::date_stringFormat($voucher->REG_DATE, false) }} | @if (is_null($voucher->EXPIRE_DATE)) {{ __("cfp.Never") }} @else {{ Helper::date_stringFormat($voucher->EXPIRE_DATE, false) }} @endif |
@if ($voucher->ACTIVE_YN == 'Y')
$voucher->SRL]) }}" data-title="{{ __("cfp.DeactivateVoucher") }}" data-desc="{{ __("cfp.DeactivateVoucherDesc") }}" data-btn-text="Deactivate" data-method="PUT" data-tippy-content="Deactivate">
@endif
@if ($user_data->AUTHORITY_LEV >= 3)
$voucher->SRL]) }}" data-title="{{ __("cfp.RemoveVoucher") }}" data-desc="{{ __("cfp.DeleteVoucherDesc") }}" data-btn-text="Delete" data-method="DELETE" data-tippy-content="Delete">
@endif
|
| {{ __("cfp.NoCodeCreated") }}, {{ __("cfp.NoCodeCreated1") }} | |||||||||
{{ $vouchers->links() }}