Order ID
{{ $invoice->order->order_number }}
Amount
{{ number_format($invoice->amount, 2) }} {{ $invoice->currency }}
Due Date
{{ $invoice->due_date->format('d-m-Y') }}
Plan Details
Plan Name:
{{ $invoice->order->plan_data['title'] }}
Plan Duration:
{{ $invoice->order->plan_data['days'] }} days
Features:
@foreach($invoice->order->plan_data['data'] as $key => $value)
@if($key=="messages_limit" || $key=="device_limit")
{{ ucfirst(str_replace('_', ' ', $key)) }} : {{ $value }}
@else
@if($value)
{{ ucfirst(str_replace('_', ' ', $key)) }}
@endif
@endif
@endforeach