 |
From:
|
{{ Settings::setting('companyName') }}
{{ nl2br(Settings::setting('companyAddress')) }}
|
To:
|
{{ $creditnote->getCustomer->getFullAddress() }}
CIF: {{ $creditnote->getCustomer->cifnif }}
|
 |
Creditnote date:
|
{{ CommonFunctions::formatDate($creditnote->createdOn) }}
|
Created by:
|
{{ User::find($creditnote->createdBy)->initials }}
|
@foreach($creditnote->quoteEntries() as $quoteEntry)
Quote #{{ $quoteEntry->id }} - {{ $quoteEntry->description }}
No. |
Product |
@if (Settings::setting('quoteHasVisitDate') == '1')
Visit date |
@endif
Qty |
Unit Price |
D% |
Sum |
@foreach($quoteEntry->getEntries as $entry)
{{ $counter }} |
{{ $entry->productName}} {{ $entry->description }}
|
@if (Settings::setting('quoteHasVisitDate') == '1')
{{ CommonFunctions::formatDate($entry->visitDate) }} |
@endif
{{ $entry->quantity }} |
€ {{ number_format($entry->unitPrice, 2, ',', '.') }} |
{{ $entry->discount }}% |
€ {{ number_format($entry->getTotal(), 2, ',', '.') }} |
@endforeach
|
|
@if (Settings::setting('quoteHasVisitDate') == '1')
Extra costs: € {{ number_format($quoteEntry->supCosts, 2, ',', '.') }} |
@else
Extra costs: € {{ number_format($quoteEntry->supCosts, 2, ',', '.') }} |
@endif
€ {{ number_format($quoteEntry->getSubTotal(), 2, ',', '.') }} |
@endforeach
|
|
|
Subtotal: |
€ {{ CommonFunctions::formatNumber($creditnote->getSubtotal()) }} |
IVA: |
€ {{ CommonFunctions::formatNumber($creditnote->getVat()) }} |
Extra costs: |
€ {{ CommonFunctions::formatNumber($creditnote->getSupcosts()) }} |
|
|
|
TOTAL:
€ {{ CommonFunctions::formatNumber($creditnote->getTotal()) }}
|
|
{{ Settings::setting('invoiceText') }}
|
|
Subtotal work: |
€ {{ CommonFunctions::formatNumber($creditnote->getSubWork()) }} |
Subtotal products: |
€ {{ CommonFunctions::formatNumber($creditnote->getSubNotWork()) }} |
|
|
{{ Settings::setting('bankDetails') }} |
|
{{ Settings::setting('additionalInvoiceLine') }} |