|
@if ($document_type != "BT" and $document_type != "II" and $document_type != "B-REM")
@if ($document_type == "BRe")
|
|
@else
Mode de Paiement : {{$mouvements['finance_mode_paiement_designation']}}
@endif
@endif
@if ($document_type=="F" or $document_type=="FF" or $document_type=="BL" or $document_type=="BR" or $document_type=="BRe" or $document_type=="D" or $document_type=="BC" or $document_type=="BCF")
@if ($affichage_tab_tva=="true" and $affichage_ligne_montant_tva="true")
| Taux TVA |
Montant TVA |
@foreach($tabTVAs as $TVAs)
@if ($TVAs->taux_tva>0)
| {{$TVAs->taux_tva}}% |
@php($item_centimes = substr(number_format($TVAs->montant_tva-floor($TVAs->montant_tva), 2, ',', ' '),-2))
@if ($item_centimes!=0)
{{$item = number_format((float)$TVAs->montant_tva, 2, ',', ' ')}}
@else
{{$item = number_format((float)$TVAs->montant_tva, 0, ',', ' ')}}
@endif
|
@endif
@endforeach
@endif
@if ($affichage_ligne_montant=="true" or $affichage_ligne_montant_remise=="true" or $affichage_ligne_montant_tva=="true" or $affichage_ligne_montant_ttc=="true" or $affichage_ligne_timbre=="true" or $affichage_ligne_montant_total=="true")
@if ($affichage_ligne_montant=="true")
@php($item_centimes = substr(number_format($mouvements["montant_total_ht"]-floor($mouvements["montant_total_ht"]), 2, ',', ' '),-2))
@if ($item_centimes!=0)
{{$montant_total_ht = number_format((float)$mouvements["montant_total_ht"], 2, ',', ' ')}}
@else
{{$montant_total_ht = number_format((float)$mouvements["montant_total_ht"], 0, ',', ' ')}}
@endif
| Montant |
{{$montant_total_ht}} |
@endif
@if ($affichage_ligne_montant_remise=="true")
@php($centimes = substr(number_format($mouvements["montant_remise"]-floor($mouvements["montant_remise"]), 2, ',', ' '),-2))
@if ($centimes!=0)
{{$montant_remise = number_format((float)$mouvements["montant_remise"], 2, ',', ' ')}}
@else
{{$montant_remise = number_format((float)$mouvements["montant_remise"], 0, ',', ' ')}}
@endif
| Montant remise |
{{$montant_remise}} |
@endif
@if ($affichage_ligne_montant_tva=="true")
@php($centimes = substr(number_format($mouvements["montant_total_tva"]-floor($mouvements["montant_total_tva"]), 2, ',', ' '),-2))
@if ($centimes!=0)
{{$montant_total_tva = number_format((float)$mouvements["montant_total_tva"], 2, ',', ' ')}}
@else
{{$montant_total_tva = number_format((float)$mouvements["montant_total_tva"], 0, ',', ' ')}}
@endif
| Montant TVA |
{{$montant_total_tva}} |
@endif
@if ($affichage_ligne_montant_ttc=="true")
@php($centimes = substr(number_format($mouvements["montant_total_ttc"]-floor($mouvements["montant_total_ttc"]), 2, ',', ' '),-2))
@if ($centimes!=0)
{{$montant_total_ttc = number_format((float)$mouvements["montant_total_ttc"], 2, ',', ' ')}}
@else
{{$montant_total_ttc = number_format((float)$mouvements["montant_total_ttc"], 0, ',', ' ')}}
@endif
| Montant TTC |
{{ $montant_total_ttc}} |
@endif
@if ($affichage_ligne_timbre=="true")
@php($centimes = substr(number_format($mouvements["montant_timbre"]-floor($mouvements["montant_timbre"]), 2, ',', ' '),-2))
@if ($centimes!=0)
{{$montant_timbre = number_format((float)$mouvements["montant_timbre"], 2, ',', ' ')}}
@else
{{$montant_timbre = number_format((float)$mouvements["montant_timbre"], 0, ',', ' ')}}
@endif
| Timbre {{$mouvements["montant_timbre_pourcentage"]}} % |
{{$montant_timbre}} |
@endif
@if ($affichage_ligne_montant_total=="true")
@php($centimes = substr(number_format($mouvements["montant_total"]-floor($mouvements["montant_total"]), 2, ',', ' '),-2))
@if ($centimes!=0)
{{$montant_total = number_format((float)$mouvements["montant_total"], 2, ',', ' ')}}
@else
{{$montant_total = number_format((float)$mouvements["montant_total"], 0, ',', ' ')}}
@endif
| NET A PAYER |
{{$montant_total}} |
@endif
|
@endif