@extends($activeTemplate . 'layouts.master') @section('content')
@foreach ($assets as $asset)
image {{ __($asset->category->name) }}

{{ showAmount($asset->quantity, currencyFormat: false) }} @lang('Gram Gold')

{{ showAmount($asset->quantity * $asset->category->price) }} @if ($asset->category->change_90d > 0) {{ showAmount(($asset->quantity * $asset->category->price * $asset->category->change_90d) / 100) }} {{ showAmount($asset->category->change_90d, currencyFormat: false) }}% (@lang('90D')) @else {{ showAmount(($asset->quantity * $asset->category->price * abs($asset->category->change_90d)) / 100) }} {{ showAmount(abs($asset->category->change_90d), currencyFormat: false) }}% (@lang('90D')) @endif

@endforeach

@lang('Portfolio Overview')

@if ($assets->count())
@else @endif
@if ($assets->count())

@lang('Asset Logs')

@lang('View All')
@forelse ($assetLogs as $assetLog) @empty @endforelse
@lang('Date & Time') @lang('Type') @lang('Quantity') @lang('Amount') @lang('Charge')
{{ showDateTime($assetLog->created_at, 'd M, Y') }} {{ showDateTime($assetLog->created_at, 'h:i A') }}
@php echo $assetLog->statusBadge; @endphp {{ showAmount($assetLog->quantity, 4, currencyFormat: false) }} @lang('Gram') {{ showAmount($assetLog->amount) }} {{ showAmount($assetLog->charge) }}
@lang('No data found')
@else

@lang('Asset Logs')

@endif
@endsection @section('pageTitleIcon') image @endsection @push('pageHeaderButton') @lang('Buy Gold') @lang('Sell Gold') @if (gs('redeem_option')) @lang('Redeem Gold') @endif @lang('Gift Gold') @endpush @if ($portfolioData['total_asset_quantity'] > 0) @push('script') @endpush @endif