@extends(!$download ? 'layouts.app' : 'layouts.app_with_out_nav') @section('script') @endsection @section('content')
@if(!$download) @endif
{{ __('UNREALISED GAINs') }}
@if(!$download) @endif
{{strtoUpper($trialBalanceDetails->companyRelationShip->taxpayer)}} TRN:{{($trialBalanceDetails->companyRelationShip->tax_registration_number)}} Tax Period: {{date('d-M-Y',strtotime(@$trialBalanceDetails->from))}} to {{date('d-M-Y',strtotime(@$trialBalanceDetails->to))}}
@php $unrealiseGainCount = 0; @endphp @foreach($unrealiseGains as $unrealiseGain) @php $data = json_decode($unrealiseGain->data); $unrealiseGainCount += Helper::CtaxTotalAmount($data->amount); @endphp @endforeach @csrf
Description Amount Action
{{$data->description}} {{number_format($data->amount,2)}}
Total {{number_format($unrealiseGainCount,2)}}
@endsection