@extends('layouts.admin') @section('style') @endSection @php $showPasscodeAndUserCount = config('sys.reg_by_passcode_only'); @endphp @section('script') @endSection @section('content')
Voucher Image

{{ $voucher_series['title'] }}

{{ $voucher_series['series_id'] }}

@include('admin.components.voucher.voucher_series_limit_schedule', ['voucher_series' => $voucher_series])

Details

Locations
    @foreach( $voucher_series['retail_stores'] as $retails_store)
  • {{ $retails_store['address'] }}
  • @endforeach

Redemption Period

{{ date('Y-m-d H:s:i', strtotime($voucher_series['redeem_start'])) .' - '. date('Y-m-d H:s:i', strtotime($voucher_series['redeem_end'])) }}


Use By Date

{{ date('Y-m-d', strtotime($voucher_series['use_by'])) }}

@if( count($voucher_series['voucherSeriesTags']) > 0 )
Tags

@foreach( $voucher_series['voucherSeriesTags'] as $tag) {{ $tag['name'] }} @endforeach

@endIf @if( count($voucher_series['voucherSeriesGroups']) > 0 )
Groups

@foreach( $voucher_series['voucherSeriesGroups'] as $group) {{ $group['name'] }} @endforeach

@endIf @if( $voucher_series['tc_link'] != '')
Privacy Link

{{ $voucher_series['tc_link'] }}

@endif
@php $info_contents = [ [ 'icon'=>'fas fa-download', 'color' => 'bg-info', 'title'=>'Total Vouchers Downloaded', 'data' => $count_total, 'name' => 'count_total', ],[ 'icon'=>'fas fa-fire', 'color' => 'bg-green', 'title'=>'Vouchers Redeemed', 'data' => $count_burnt, 'name' => 'count_burnt', ],[ 'icon'=>'fas fa-dollar-sign', 'color' => 'bg-warning', 'title'=>'Total Transaction Amount', 'data' => $total_transaction_amount, 'name' => 'total_transaction_amount', ],[ 'icon'=>'fas fa-calendar-times', 'color' => 'bg-danger', 'title'=>'Vouchers Expired', 'data' => $count_expired, 'name' => 'count_expired', ], ]@endphp @foreach($info_contents as $info)
{{$info['title']}} {{$info['data']}}
@endforeach
{{--
--}} {{--

{{ __('heading.title_view_voucher_series') }}

--}} {{--
--}}
@if($showPasscodeAndUserCount) @endif {{-- @foreach($vouchers as $voucher) @if($voucher_series['redemption_code'] == '13_digit_code') @else @endif @endforeach --}}
No. Serial Code User UID{{ __('admin_dashboard.titleVoucherUserCount') }} PasscodeName Email Mobile Downloaded date Status Expired date Used date Num of Transaction Transaction Amount Receipts Redeem Code Campaign Source Medium Referral
{{$voucher['serial']}}{{$voucher->getVoucher()['redeem_code']}}{{$voucher->getCode()}}{{$voucher['user_uid'] ?? ''}} {{$voucher['name']}} {{$voucher['email']}} {{$voucher['mobile_country_code'].$voucher['mobile']}} {{ $voucher['created_at']}} {{ $voucher['status'] }} {{ $voucher['use_by'] }} {{ $voucher['last_use']}} {{ $voucher['use_count']}} {{ $voucher['transaction_amount']}} @foreach($voucher['receipts'] as $receipt) @endforeach {{ $voucher['redeem_code'] }} {{ $voucher['campaign'] }} {{ $voucher['source'] }} {{ $voucher['medium'] }} {{ $voucher['referral'] }}
{!! $voucher_series['tc'] !!}

Coming Soon

{{--
--}} {{--

{{ __('heading.title_view_voucher_series') }}

--}} {{--
--}}
@if($voucher_series['redemption_method'] == '13_digit_code') @foreach($redeem_codes as $redeem_code) @endforeach {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}}
No. Redeem Code SKU Discount Value Status
{{ $redeem_code['code']}} {{ $redeem_code['sku']}} {{ $voucher_series['discount_value']}} {{ $redeem_code['status'] }}
No.Voucher SeriesTitleRetail StoreDownloadedUsedRedemption PeriodCreated Date
@endif @if($voucher_series['redemption_method'] == '6_digit' || $voucher_series['redemption_method'] == '6_digit_with_promotion_code') @foreach($redeem_codes as $redeem_code) @endforeach
No. Redeem Code Store Name
{{ $redeem_code['pivot']['code']}} {{ $redeem_code['name']}}
@endif
{{--
No Name Email Mobile Voucher Amount Store Receipt Date
--}}
@endsection