@foreach ($cus_invoices as $cus_invoice) @endforeach
{{ __("Etat") }} # {{ __("Devis") }} {{ __(" HT") }} {{ __(" TTC") }} {{ __("Tva") }} {{ __("Date facture") }} {{ __("Date d'échéance") }} {{ __("Payée") }} {{ __("Date règlement") }} {{ __("Date envoi mail") }} {{ __("Fichier") }}
{!! $cus_invoice->sta_nameFr !!} {!! $cus_invoice->cusInv_number !!} @if( $cus_invoice->cusQuo_id!='') #{!! $cus_invoice->cusQuo_number !!} @endif {{ number_format((float)$cus_invoice->cusInv_amountHT, 2, '.', ' ') }} € {{ number_format((float)$cus_invoice->cusInv_amountTTC, 2, '.', ' ') }} € {!! $cus_invoice->cusInv_tva !!}% {{ $cus_invoice->cusInv_achievementDate!='' ? date('d/m/Y',strtotime($cus_invoice->cusInv_achievementDate)) : '' }} {{ $cus_invoice->cusInv_deadlineDate!='' ? date('d/m/Y', strtotime($cus_invoice->cusInv_deadlineDate)) : '' }} @if( $cus_invoice->cusInv_payed=='1') {{ __("oui") }} @else {{ __("non") }} @endif {{ $cus_invoice->cusInv_paymentDate!='' ? date('d/m/Y', strtotime($cus_invoice->cusInv_paymentDate)) : ''}} {{ date_en_fr($cus_invoice->cusInv_dateSendedMailInvoice) }} @if ( Route::current()->getName() =='editIntCusInv_edit' ) @else @endif
@if ( Route::current()->getName()=='editIntCusInv_edit' )


{{ __("Détail facture client") }}
@csrf {{ csrf_field() }}
{{ __("Date facture") }} : {{ date('d/m/Y', strtotime($cus_invoice->cusInv_achievementDate))}}

@component('components.select.select_status',['status' =>$status_cusInv,'value' => $customer_invoice->sta_id, 'pref_name' => 'cusInv_','search' => 'true','emptyValue' => 'true']) @endcomponent
@component('components.select.select_tva',['tvas' => @$tvas,'value' => @$customer_invoice->tva_id,'search' => 'false','emptyValue' => 'true', 'required' => 'true']) @endcomponent
@component('components.cb_ouinon',['title' => 'Payée ?', 'name' => 'cusInv_payed', 'value' => $cus_invoice->cusInv_payed]) @endcomponent
@component('components.dates.select_simple',['label' => 'Date paiement', 'value' => @$cus_invoice->cusInv_paymentDate, 'name' => 'cusInv_paymentDate','required' => 'false']) @endcomponent
@component('components.cb_ouinon',['title' => 'Exportée en comptabilité ?', 'name' => 'cusInv_exported', 'value' => $cus_invoice->cusInv_exported]) @endcomponent
@if($cus_invoice->cusInv_exported==1)
{{ __("Exportée le") }} : {{ date('d/m/Y', strtotime($cus_invoice->cusInv_exportedDate))}}

@endif
@component('components.cb_ouinon',[ 'title' => 'Envoyée', 'name' => 'cusInv_sended', 'value' => @$cus_invoice->cusInv_sended ]) @endcomponent

{{ __("Aperçu de la facture") }}
{!! $tableaudetail !!}
@endif
@push('custom-scripts') @endpush @include('modales.interventions.delete_cusInv')