@extends('pdf.billmain', ['title' => __('menu.bill-create-with-day') ]) @section('content')

DATE: {{ date('d-m-Y', $item->date) }}
CLIENT: {{ strtoupper($item->quote->partner->designation) }}
NCC: {{ $item->quote->partner->numero_compte_contribuable }}
TEL: {{ $item->quote->partner->phones->first()->value('content') }}
ADRESSE: {{ $item->quote->partner->adresse }}

OBJET : {{ $item->quote->objet }}

@foreach ($item->quote->group_lignes as $group_ligne) @foreach ($group_ligne->lignes as $ligne) @endforeach @endforeach
REF. DESIGNATION QTE PRIX UNITAIRE MONTANT
  {{ $group_ligne->libelle }} {{ get_amounts($group_ligne->montant) }}  
{{ $ligne->reference }} {{ $ligne->libelle }} {{ $ligne->quantite }} {{ get_amounts($ligne->prix) }} {{ get_amounts($ligne->prix_total) }}
@if ($item->montant_honoraire_agence > 0) @endif @if ($item->discount > 0) @php $montant_discount = ceil($item->montant_ht * $item->discount / 100); @endphp @endif @if ($item->montant_honoraire_agence <= 0) @endif
discount == 0) rowspan="4" @else rowspan="5" @endif style="width: 60%">

CONDITIONS DE REGLEMENT :
{{ $item->conditions_paiement }}

Honoraire agence {{ get_amounts($item->montant_honoraire_agence) }}
Remise ({{ number_format($item->discount, 1, ',', '.') }}%){{ get_amounts($montant_discount) }}
discount == 0) rowspan="3" @else rowspan="4" @endif style="width: 60%">

CONDITIONS DE REGLEMENT :
{{ $item->conditions_paiement }}

Montant HT {{ get_amounts($item->montant_ht) }}
TVA ({{ $item->tva }}%) {{ get_amounts($item->montant_tva) }}
NET A PAYER {{ get_amounts($item->montant_ttc) }}

Arreté la présent facture à la somme de {{ convert_number_to_word((int) str_replace(' ', '', $item->montant_ttc)) }} Francs CFA

Comptabilité

{{--
--}}
@stop