Promotion Recipient
@if($result['promotion_type'] == 'Campaign Series') @for($x = 1;$x <= $result['promotion_series']; $x++) @endfor @else @endif @if(isset($users) && count($users) > 0) @php $no = $from; @endphp @foreach($users as $key => $user) @if($result['promotion_type'] == 'Campaign Series') @for($x = 1;$x <= $result['promotion_series']; $x++) @if(isset($user['promotion_sents'][$x-1])) @else @endif @endfor @else @endif @php $no++; @endphp @endforeach @else @if($result['promotion_type'] == 'Campaign Series') @php $col=$result['promotion_series']+4; @endphp @else @endif @endif
No Name PhoneCampaign {{$x}} Time SentPromotion Sent TimeVoucher
{{$no}} {{$user['name']}} {{$user['phone']}}{{date('d F Y H:i', strtotime($user['promotion_sents'][$x-1]['send_at']))}}given: @if(isset($user['voucher_given'])) {{$user['voucher_given']}} @else 0 @endif
used : @if(isset($user['voucher_used'])) {{$user['voucher_used']}} @else 0 @endif
{{$no}} {{$user['name']}} {{$user['phone']}} {{date('d F Y H:i', strtotime($user['send_at']))}} given: @if(isset($user['voucher_given'])) {{$user['voucher_given']}} @else 0 @endif
used : @if(isset($user['voucher_used'])) {{$user['voucher_used']}} @else 0 @endif
No User Has Received This Promotion
No User Has Received This Promotion
Showing {{$from}} to {{$to}} of {{$total}} entries
{{$users->links()}}