@extends('layouts.antet') @section ('content')
|
crt |
|
Sold initial | Debit | Credit | Sold final | |
|---|---|---|---|---|---|---|
| {{ $i++ }}. | @if($nota->contd==$cont->cont) {{ $nota->contc }} @endif @if($nota->contc==$cont->cont) {{ $nota->contd }} @endif | {{ $nota->contcorespondent["denumire"]}} | @if($nota->contd==$cont->cont) {{ number_format($nota->debit,2)}} @endif | @if($nota->contc==$cont->cont) {{ number_format($nota->credit,2)}} @endif | @if($cont->tip_cont=="Creditor") {{ number_format($sold+=($nota->credit-$nota->debit),2) }} @endif @if($cont->tip_cont=="Debitor") {{ number_format($sold+=($nota->debit-$nota->credit),2) }} @endif @if($cont->tip_cont=="Bifunctional") {{ number_format(abs($sold+=($nota->debit-$nota->credit)),2) }} @endif |
| TOTAL |
@if($cont->tip_cont=="Bifunctional") {{ number_format(abs($cont->soldinitial),2)}} @endif @if($cont->tip_cont!="Bifunctional") {{ number_format($cont->soldinitial,2)}} @endif |
{{ number_format(round($notacontabila->sum('debit'),2),2) }} |
{{ number_format(round($notacontabila->sum('credit'),2),2) }} |
@if(!$cont->prin_cont) @if($cont->tip_cont=="Bifunctional") {{ number_format(abs($sold),2)}} @endif @if($cont->tip_cont!="Bifunctional") {{ number_format($sold,2)}} @endif @endif |
|||
|
ADMINISTRATOR, {{$company->director_general}} _________________________ |
DIRECTOR ECONOMIC, {{$company->contabil_sef}} ___________________________________ |