@extends('layouts.adminlayout') @section('content')
Manage Transaction
@include('admin.partials.flash_messages')

Transaction Information

Id {{ $row->id }}
Card Holder's Name {{ isset($row->users) && $row->users->first_name ? $row->users->first_name.' '. $row->users->last_name : '';}}
Email {{ $row->users->email }}
Mobile {{ $row->users->phonenumber }}
Transaction Type {{ isset($row->transaction_type) && $row->transaction_type ? ucfirst($row->transaction_type) : '-'}}
Total {{ isset($row->sub_total) && $row->sub_total ? settings::get('currency_symbol') .''. $row->sub_total :'-' }}
Discount {{ isset($row->discount) && $row->discount ? $row->discount.''.'%' : '-' }}
Grand Total {{ isset($row->grand_total) ? Settings::get('currency_symbol').''. $row->grand_total : '-' }}
Paid Amount {{ isset($row->amount) ? Settings::get('currency_symbol').''. $row->amount : '-' }}

Other Information

Status @if(isset($row->status) && $row->status == 2) Complete @elseif(isset($row->status) && $row->status == 1) Pending @elseif(isset($row->status) && $row->status == 0) Failed @endif
Created On {{($row->created)}}
@endsection