@if(Session::get('child_login') == 0)

{{Auth::user()->firstname.' '.Auth::user()->lastname}}{{$child_data['firstname'].' '.$child_data['lastname']}}

{!! $helper->getChildDropdown() !!} @else

{{Auth::user()->firstname.' '.Auth::user()->lastname}}

@endif
@php $cart=$helper->cart_item(); @endphp

SALDO

Kr. {{$helper->price($child_data['subsidy_amount'])?? '0.00'}} @if(!empty($cart)){{count($cart)}}@endif
@if(isset($invoiceData) && !empty($invoiceData) && (strpos($_SERVER['REQUEST_URI'], "invoice") !== false))
{{--

-KR. {{$helper->price($invoicetotal)}}

--}}

KR. -{{$helper->price($amountData ? $amountData['subsidy_payable'] : 0)}}

RESTSALDO

{{-- Kr. {{$helper->price(($child_data['subsidy_amount']>0 ? ($child_data['subsidy_amount']-$invoicetotal) : 0))}}{{dd($amountData)}} --}} {{-- Kr. {{$helper->price((($child_data['subsidy_amount']-$invoicetotal)>0 ? ($child_data['subsidy_amount']-$invoicetotal) : 0))}} --}} @php $headeramt=$child_data['subsidy_amount']-($amountData ? $amountData['subsidy_payable'] : 0); @endphp Kr. {{$helper->price((($headeramt)>0 ? $headeramt : 0))}}
@else
@endif