|
{{ $i++ }}.
|
{{dateFormatAfisare($nota->data_nota) }}
|
{{$nota->denumire_partener }}
|
@if($nota->contd==$cont->cont)
{{ $nota->contc }}
@endif
@if($nota->contc==$cont->cont)
{{ $nota->contd }}
@endif
|
@if($nota->contd==$cont->cont)
{{ $nota->debit}}
@endif
|
@if($nota->contc==$cont->cont)
{{ $nota->credit}}
@endif
|
@if(!$cont->prin_cont)
@if($cont->tip_cont=="Creditor")
{{
$sold+=($nota->credit-$nota->debit)
}}
@endif
@if($cont->tip_cont=="Debitor")
{{
$sold+=($nota->debit-$nota->credit)
}}
@endif
@if($cont->tip_cont=="Bifunctional")
{{
abs($sold+=($nota->debit-$nota->credit))
}}
@endif
@endif
|
{{ $nota->explicatie}}
|
@if($nota->tip_document||$nota->nr_document||$nota->data_document)
{{$nota->tip_document }}
{{$nota->nr_document."/".dateFormatAfisare($nota->data_document) }}
@endif
|
@endforeach
|
TOTAL LUNA {{lunainlitere($notacontabilaLuna[0]->luna)." ".$notacontabilaLuna[0]->anul}}
|
{{ $notacontabilaLuna->sum('debit') }}
|
{{ $notacontabilaLuna->sum('credit') }}
|
@if(!$cont->prin_cont)
@if($cont->tip_cont=="Bifunctional")
{{ abs($sold)}}
@endif
@if($cont->tip_cont!="Bifunctional")
{{ $sold}}
@endif
@endif
|
@endforeach