@extends('layouts.app') @section('title', 'Services') @section('content') @include('layouts.navbar')
{{-- @if (Session::get('warning'))
{{ Session::get('warning') }}
@endif --}} @php $sortedTransactions = $transactions->sortByDesc('id'); @endphp
@foreach ($sortedTransactions as $transaction) @endforeach
Actions Order No. Tickets Payment Channel Payment Ref Payment Status
@if ($transaction->payment_status == 'Paid') @if ($transaction->livestream) My Tickets @else My Tickets @endif @else @if ($transaction->payment_channel == 'HitPay') Verify @else Requery @endif @endif {{ $transaction->order_no }} @if (!$transaction->livestream) @foreach (json_decode($transaction->tickets) as $tix)

Day {{ $tix->day }} ({{ $tix->qty }})

@endforeach @endif
@if ($transaction->payment_channel == 'ipay88_1') ipay88 - Card @elseif($transaction->payment_channel == 'ipay88_3') ipay88 - Gcash @elseif($transaction->payment_channel == 'ipay88_57') ipay88 - Maya @else {{ $transaction->payment_channel }} @endif @if ($transaction->livestream) @foreach (json_decode($transaction->tickets) as $tix)

Day {{ $tix->day }} ({{ $tix->qty }})

@endforeach @endif

{{ $transaction->payment_ref }}

{{ $transaction->payment_status }}
@include('layouts.footer') @endsection