@extends($activeTemplate . 'layouts.master') @section('content')
@if ($assetLogs->count()) @if ($assetLogs->sum('vat') > 0) @endif @foreach ($assetLogs as $assetLog) @if ($assetLogs->sum('vat') > 0) @endif @endforeach
@lang('Date & Time') @lang('Type') @lang('Category') @lang('Quantity') @lang('Amount') @lang('Charge')@lang('Vat')@lang('Action')
{{ showDateTime($assetLog->created_at, 'd M, Y') }} {{ showDateTime($assetLog->created_at, 'h:i A') }}
@php echo $assetLog->statusBadge @endphp {{ $assetLog->category->name }} {{ showAmount($assetLog->quantity, 4, currencyFormat: false) }} @lang('gram') {{ showAmount($assetLog->amount) }} {{ showAmount($assetLog->charge) }}{{ $assetLog->type == Status::BUY_HISTORY ? showAmount($assetLog->vat) : '-' }} @if ($assetLog->type == Status::REDEEM_HISTORY) @else @endif
@else @endif
{{ paginateLinks($assetLogs) }}
@include($activeTemplate . 'user.redeem.details_modal') @endsection @section('pageTitleIcon') image @endsection @push('pageHeaderButton') @lang('My Portfolio') @endpush