Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <style type="text/css">
- <!--
- body {font-family: sans-serif; font-size: 11pt;}
- .invoice_sender { position: absolute; top: 0; right: 0; width: 200px; font-size: 10pt; line-height:1.35em;}
- .invoice_sender em.caps { display:inline-block; width: 40px; font-style: normal; font-size: 10pt; }
- .invoice_recipient { position: absolute; top: 175px; left: 30px; line-height:1.35em; }
- .invoice_footer { position: absolute; bottom: 0; border-top: 1px solid black; line-height:1.35em; }
- .invoice_header { position: relative; width: 100%; }
- .invoice_content { margin-top: 320px }
- .invoice_header h2 { font-size: 24px; font-weight:bold; margin: 0; padding: 0; }
- .invoice_header table {
- line-height:1.35em;
- border-collapse: collapse;
- font-size: 10pt;
- }
- .invoice_header table.dates {
- right: 0; top: 0; position: absolute; width: 200px; margin: 0; padding: 0;
- }
- .invoice_header table td.dt { width: 120px; }
- .invoice_details table {
- border-collapse: collapse;
- clear: both;
- line-height:1.35em;
- width: 100%;
- margin-top: 40px;
- }
- .invoice_details td, .invoice_details th {
- padding: 5px 7px;
- border-bottom: 1px black solid;
- }
- .invoice_details th {
- font-weight: bold;
- text-align: left;
- }
- .invoice_details tr.tfoot td {
- border-bottom: 0;
- }
- .invoice_details tr.tfoot.total td.price, .invoice_details tr.tfoot td.total {
- font-weight: bold;
- }
- .invoice_details tr.tfoot.total td.price, .invoice_details tr.tfoot.total td.total {
- border-bottom: 1px black solid;
- }
- -->
- </style>
- </head>
- <body>
- <div class="invoice_recipient">
- {{$invoice->recipient_company_name}}<br>
- T.a.v. {{$invoice->recipient_attention}}<br>
- {{$invoice->recipient_address_line1}}<br>
- @if ($invoice->recipient_address_line2)
- {{$invoice->recipient_address_line2}}<br>
- @endif
- {{$invoice->recipient_postal_code}} {{$invoice->recipient_city}}<br>
- @if ($invoice->recipient_country)
- {{$invoice->recipient_country}}<br>
- @endif
- </div>
- <div class="invoice_sender">
- <strong>JM SportsCompany BV</strong><br>
- Leurikslaan 5<br>
- 7535DV Enschede<br>
- Nederland<br/>
- <br>
- <em class="caps">IBAN:</em> NL00RABO123456<br>
- <em class="caps">KVK:</em> 1234567<br>
- <em class="caps">BTW:</em> NL123456B01
- </div>
- <div class="invoice_content">
- <div class="invoice_header">
- <h2>Factuur {{ $invoice->invoiceNumber}}</h2>
- <table class="dates">
- <tr>
- <td class="dt">
- Factuurdatum:
- </td>
- <td>
- {{ $invoice->date_of_invoice->format('Y-m-d') }}
- </td>
- </tr>
- <tr>
- <td class="dt">
- Vervaldatum:
- </td>
- <td>
- {{ $invoice->due_date->format('Y-m-d') }}
- </td>
- </tr>
- </table>
- @if($invoice->recipient_vat)
- <table class="metadata">
- <tr>
- <td class="dt">
- BTW nummer klant:
- </td>
- <td>
- {{$invoice->recipient_vat}}
- </td>
- </tr>
- </table>
- @endif
- </div>
- <div class="invoice_details">
- <table>
- <thead>
- <tr>
- <th></th>
- <th>Omschrijving</th>
- <th class="price">Per stuk</th>
- <th class="price">Bedrag</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($invoice->entries as $entry)
- <tr class="">
- <td class="amount">{{$entry->unit_amount}}x</td>
- <td>{{$entry->description}}</td>
- <td class="price">{{$moneyFormatter->format($entry->unit_price)}}</td>
- <td class="price">{{$moneyFormatter->format($entry->entry_total)}}</td>
- </tr>
- @endforeach
- <tr class="tfoot subtotal">
- <td class="" colspan="2"></td>
- <td class="total first">Subtotaal</td>
- <td class="price first">{{$moneyFormatter->format($invoice->subtotal)}}</td>
- </tr>
- <tr class="tfoot tax">
- <td class="" colspan="2"></td>
- <td class="total tax">{{$invoice->vat_percentage}}% BTW</td>
- <td class="price tax">{{$moneyFormatter->format($invoice->vat)}}</td>
- </tr>
- <tr class="tfoot total">
- <td class="" colspan="2"></td>
- <td class="total emphasize ">Totaal</td>
- <td class="price emphasize ">{{$moneyFormatter->format($invoice->total)}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="invoice_footer">
- <p class="comments">
- We verzoeken je vriendelijk het bovenstaande bedrag van <strong>{{$moneyFormatter->format($invoice->total)}}</strong> voor <strong>{{$invoice->due_date->format('Y-m-d')}}</strong> te voldoen op bankrekening <strong>NL00RABO1234567</strong> onder vermelding van het factuurnummer <strong>{{$invoice->invoice_number}}</strong>. Voor vragen over deze factuur of andere zaken kan je ons altijd bellen of mailen.
- </p>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement