@extends('layouts.front_vertical_menu') @section('customcss') @endsection @section('pagecontent')

@lang('frontsistema.trade_investment.fondos_de_inversion')

@lang('frontsistema.trade_investment.balance_at'): {{ date('d M Y') }}

${{ number_format($total_amount, 2, '.', ',') }}

@php $total_amount = 0; $type = ''; @endphp @foreach($results as $result) @php if($result->trans_type == 0) { $type = 'ti'; if($result->tipo == 'cr') { $total_amount = $total_amount + $result->monto; }else{ $total_amount = $total_amount - $result->monto; } } elseif($result->trans_type == 1) { $type = 'mov'; if($result->operation_category == 1) { $total_amount = $total_amount + $result->monto; } else { $total_amount = $total_amount - $result->monto; } } @endphp @if($result->trans_type == 1) @elseif($result->is_opening) @elseif($result->tipo == 'cr') @else @endif @endforeach
@lang('frontsistema.trade_investment.ticket') @lang('frontsistema.trade_investment.date'): @lang('frontsistema.trade_investment.transaction'): @lang('frontsistema.trade_investment.expiration'): @lang('frontsistema.trade_investment.amount'): @lang('frontsistema.trade_investment.nav'): @lang('frontsistema.trade_investment.risk'): @lang('frontsistema.trade_investment.unit_balance'):
{{ $result->ticket }} {{ date("d-m-Y", strtotime($result->fecha)) }} {{ $result->transaction }} {{ number_format($result->monto, 2, '.', ',') }} LIQ {{ number_format($result->monto, 2, '.', ',') }} {{ number_format($result->nav, 2, '.', ',') }} LIQ{{ date("d-m-Y", strtotime($result->fecha_vencimiento)) }} {{ number_format($result->monto, 2, '.', ',') }} {{ number_format($result->nav, 2, '.', ',') }} {{ number_format($result->riesgo, 2, '.', ',') }}{{ number_format($total_amount, 2, '.', ',') }} @lang('frontsistema.trade_investment.view_complete')
@endsection @section('customjs') @endsection