@extends('layouts.backend.app') @section('title', 'Plan View') @section('head') @include('layouts.backend.partials.headersection',['title'=>'Plan View']) @endsection @section('content')
{{ __('Title') }} | {{ __('Details') }} |
---|---|
{{ __('Plan') }} | {{ $order->plan->name }} |
{{ __('Geteway') }} | {{ $order->getway->name }} |
{{ __('Amount') }} | {{ $order->amount }} |
{{ __('Transaction ID') }} | {{ $order->payment_id }} |
{{ __('Status') }} | @php $status = [ 0 => ['class' => 'badge-danger', 'text' => 'Rejected'], 1 => ['class' => 'badge-primary', 'text' => 'Accepted'], 2 => ['class' => 'badge-danger', 'text' => 'Expired'], 3 => ['class' => 'badge-warning', 'text' => 'Pending'], ][$order->status]; @endphp{{ $status['text'] }} |
{{ __('Created At') }} | {{ $order->created_at->isoFormat('LL') }} |
{{ __('Expire At') }} | {{ \Carbon\Carbon::parse($order->exp_date)->isoFormat('LL') }} |
{{ __('Attachment') }} | {{ __('View') }} |