@foreach ($subscriptions as $key => $transcation) {{ $key + $subscriptions->firstItem() }} {{ Str::limit($transcation->id, 40, '...') }} {{ $transcation->created_at->format('d M Y h:i A') }}
{{ Str::limit($transcation->restaurant->name, 20, '...') }}
{{ Str::limit($transcation->package->package_name, 20, '...') }} {{ $transcation->validity }} {{ translate('messages.Days') }} {{ \App\CentralLogics\Helpers::format_currency($transcation->package->price) }}
{{ \App\CentralLogics\Helpers::format_currency($transcation->paid_amount) }}
@if ($transcation->payment_method == 'free_trial') {{ translate('unpaid') }} @else {{ translate('paid') }} @endif
@if ($transcation->payment_method == 'wallet') {{ translate('messages.Wallet payment') }} @elseif($transcation->payment_method == 'manual_payment_admin') {{ translate('messages.Manual payment') }} @elseif($transcation->payment_method == 'manual_payment_by_restaurant') {{ translate('messages.Manual payment') }} @elseif($transcation->payment_method == 'free_trial') {{ translate('messages.free_trial') }} @else {{ translate($transcation->payment_method) }} @endif
@endforeach