@forelse($transaction as $key => $item) @if ($item->status == 'success') @else @endif @empty @endforelse
# {{ __('Action') }} {{ __('Order Id') }} {{ __('Status') }} {{ __('Detail') }} {{ __('Total') }} {{ __('Renew At') }} {{ __('Expired At') }}
{{ $loop->iteration }} {{ $item->order_id }} {{ $item->status }} @php $details = json_decode($item->detail, true); @endphp
{{ __('Customer Details') }}:
  • {{ __('First Name') }}: {{ $details['customer_details']['first_name'] }}
  • {{ __('Last Name') }}: {{ $details['customer_details']['last_name'] }}
  • {{ __('Email') }}: {{ $details['customer_details']['email'] }}
  • {{ __('Phone') }}: {{ $details['customer_details']['phone'] }}
{{ __('Item Details') }}:
    @foreach ($details['item_details'] as $itemDetail)
  • {{ __('Item Name') }}: {{ $itemDetail['name'] }}
    {{ __('Quantity') }}: {{ $itemDetail['quantity'] }}
    {{ __('Price') }}: {{ number_format($itemDetail['price'], 2) }}
  • @endforeach
{{ 'Rp. ' . number_format($item->amount, 0, ',', '.') }} {{ \Carbon\Carbon::parse($item->updated_atrenew)->format('l, d F Y') }} {{ \Carbon\Carbon::parse($item->expired_at)->format('l, d F Y') }} - -
@livewireScripts