@if($order->marketplace == 'UP B2C Ecommerce')

COLLECTION VOUCHER

@else

REDEMPTION VOUCHER

@endif

{{ $voucher->voucher_code }}

Security Code: {{ $voucher->secure_code }}

Member Account : {{ $member->email }}
Issuance Date : {{ date('d M Y', strtotime($order->created_at)) }}
Voucher Validity : 30 Days from Issued Date
@foreach($voucher->VoucherDetail as $voucher_detail)

#

Product

Quantity

{{ $i }}

{{ $voucher_detail->Product->product_name }} ({{ $voucher_detail->Product->Partner->reg_companyname }})

@if( count(json_decode($voucher_detail->variation)) > 0 ) Variations
@foreach( json_decode($voucher_detail->variation) as $title => $value ) @if( $value ) {{ ucfirst($title) }} - {{ $value }}
@endif @endforeach @endif

{{ $voucher_detail->quantity }}

@if( $voucher_detail->Product->type == 'Product' ) @if( $voucher_detail->shipping_option == 'standard' ) Standard Shipping: @if( $voucher_detail->Product->product_type != 'Service' )