@php $title = 'Facture De Location De Vehicule'; @endphp {{ $title }} prints_count) > 1) style="background: url({{ public_path('/default/images/duplicata.jpg') }});" @endif>
Tetouan le: {{ date('d/m/Y') }}
FACTURE N°: {{ $carRentalInvoice->number }}
Réf Contrat N°: {{ $carRental->ref }}
@if ($showContractDetails) @endif
{{ \App\Models\Setting::getValue('company_corporate_name') }}
RC: {{ \App\Models\Setting::getValue('company_trade_register_number') }} . Patente: {{ \App\Models\Setting::getValue('company_license_number') }} . IF: {{ \App\Models\Setting::getValue('company_business_license') }} .
ICE: {{ \App\Models\Setting::getValue('company_unique_identifier_of_the_company') }} . CNSS: {{ \App\Models\Setting::getValue('company_national_social_security_fund') }}

@if ($carRental->isInsurance() || $carRental->isGuarantee())
Client: {{ $carRental->client->company_name ?? null }}
@if ($carRental->client->commercial_register ?? null)
RC: {{ $carRental->client->commercial_register ?? null }}
@endif @if ($carRental->isGuarantee())
ICE: {{ $carRental->client->common_business_identifier ?? null }}
@endif @if ($carRental->client->tax_identifier ?? null)
IF: {{ $carRental->client->tax_identifier ?? null }}
@endif @else
Client: @if ($carRental->clientType->has_company_name ?? null) {{ $carRental->client->company_name ?? null }} @else {{ $carRental->client->first_name ?? null }} {{ $carRental->client->last_name ?? null }} @endif
Adresse: {{ $carRental->client->address ?? null }}
@endif

{{ __('Conducteur') }}: @if ($carRental->otherDriver) {{ $carRental->otherDriver->full_name ?? null }} @else @if ($carRental->driver && $carRental->driver->clientType->has_company_name ?? null) {{ $carRental->driver->company_name ?? null }} @else {{ $carRental->driver->first_name ?? null }} {{ $carRental->driver->last_name ?? null }} @endif @endif
{{ __('Mise a disposition') }}: {{ \Carbon\Carbon::parse($carRental->departure_date)->format('d/m/Y') }} à Tétouan
{{ __('Restitution') }}: {{ \Carbon\Carbon::parse($carRental->arrival_date)->format('d/m/Y') }} à Tétouan
{{ __('Nombre de jours') }}: {{ $carRental->days_count }} Jours
{{ __('Kilométrage départ') }}: {{ $carRental->departure_km }} KM
{{ __('Kilométrage retour') }}: {{ $carRental->arrival_km }} KM




@if (floatval($carRental->extras_price + $carRental->other_extras_price) > 0) @endif
Désignation PU Quantité
(Durée en jours)
Prix total (MAD)
*Location de véhicule {{ $carRental->carBrand->name ?? null }} Modèle {{ $carRental->carModel->name ?? null }}
Immatricule {{ $carRental->car->registration_number ?? null }}
Du {{ \Carbon\Carbon::parse($carRental->departure_date)->format('d/m/Y') }} .Au {{ \Carbon\Carbon::parse($carRental->arrival_date)->format('d/m/Y') }}
@if ($carRental->car->carCategory->name ?? null)
Catégorie: {{ $carRental->car->carCategory->name ?? null }}
@endif
{{ $carRental->price ?? 0 }} {{ \Carbon\Carbon::parse($carRental->departure_date)->diffIndays(\Carbon\Carbon::parse($carRental->arrival_date)) }} {{ $carRental->rental_price ?? 0 }}
* Ventes additionnelles ou Extras {{ $carRental->extras_price + $carRental->other_extras_price }} {{ 1 }} {{ $carRental->extras_price + $carRental->other_extras_price }}

TOTAL H.T
{{ $carRental->total_price }}
TVA ({{ $carRental->tax_rate }}%)
{{ get_tax_amount($carRental->total_price, $carRental->tax_rate) }}
TOTAL TTC
{{ $carRental->total_price_inc_tax }}



Arrêtée la présente facture à la somme de {{ $carRental->total_price_inc_tax }} TTC
({{ number_to_text($carRental->total_price_inc_tax, false) }}) Toutes taxes comprises


{{-- Raison sociale --}} {{ \App\Models\Setting::getValue('company_corporate_name') }}. {{-- Capital --}} {{ __('With Capital Of') }} {{ \App\Models\Setting::getValue('company_capital') }} {{ \App\Models\Setting::getValue('company_currency') }}. {{-- RC --}} {{ __('RC') }}: {{ \App\Models\Setting::getValue('company_trade_register_number') }}. {{-- Patente --}} {{ __('Patente') }}: {{ \App\Models\Setting::getValue('company_license_number') }}. {{-- IF --}} {{ __('IF') }}: {{ \App\Models\Setting::getValue('company_business_license') }}. {{-- ICE --}} {{ __('Company Identifier') }}: {{ \App\Models\Setting::getValue('company_unique_identifier_of_the_company') }}. {{-- CNSS --}} {{ __('National Social Security Fund') }}: {{ \App\Models\Setting::getValue('company_national_social_security_fund') }}.
{{-- Siège social / Adresse --}} {{ __('Head Office') }}: {{ \App\Models\Setting::getValue('company_address') }}. {{-- Code postal --}} {{ __('Postal Code') }}: {{ \App\Models\Setting::getValue('company_postal_code') }}. {{-- Phone --}} {{ __('Phone') }}: {{ \App\Models\Setting::getValue('company_phone') }}. {{-- Site --}} {{ __('Site') }}: {{ \App\Models\Setting::getValue('company_site') }}.