2019-08-29 06:07:04 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-12-14 06:49:48 +01:00
|
|
|
<title>$number</title>
|
2019-09-04 15:26:08 +02:00
|
|
|
<link href="{{asset('/vendors/css/bootstrap.min.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{asset('/vendors/css/coreui.min.css') }}" rel="stylesheet">
|
2019-08-29 06:07:04 +02:00
|
|
|
<style>
|
|
|
|
|
2019-09-04 14:01:19 +02:00
|
|
|
html {
|
|
|
|
-webkit-print-color-adjust: exact;
|
2019-09-04 15:26:08 +02:00
|
|
|
font-size: 24px;
|
|
|
|
font-family: Tahoma, 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
|
|
|
|
|
2019-09-04 14:01:19 +02:00
|
|
|
}
|
2019-09-04 15:26:08 +02:00
|
|
|
|
|
|
|
.totals td {
|
|
|
|
text-align: right;
|
2019-08-29 06:07:04 +02:00
|
|
|
}
|
2019-09-04 15:26:08 +02:00
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border:0;
|
2019-08-29 06:07:04 +02:00
|
|
|
}
|
2019-09-04 15:26:08 +02:00
|
|
|
|
|
|
|
table.items thead{
|
|
|
|
background-color:yellow!important;
|
|
|
|
border-collapse: collapse;
|
|
|
|
font-weight:bold;
|
|
|
|
overflow: auto;
|
|
|
|
border:0;
|
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
|
|
2019-08-29 06:07:04 +02:00
|
|
|
}
|
2019-09-04 15:26:08 +02:00
|
|
|
.items td {
|
2019-09-04 14:01:19 +02:00
|
|
|
text-align: center;
|
2019-08-29 06:07:04 +02:00
|
|
|
}
|
2019-09-04 15:26:08 +02:00
|
|
|
|
|
|
|
table.items.heading {
|
|
|
|
background-color:#000;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
2019-08-29 06:07:04 +02:00
|
|
|
}
|
2019-09-04 15:26:08 +02:00
|
|
|
|
|
|
|
.heading {
|
|
|
|
|
|
|
|
background-color: rgb(255,0,0);;
|
|
|
|
overflow: auto;
|
2019-08-29 06:07:04 +02:00
|
|
|
text-align: left;
|
2019-09-04 15:26:08 +02:00
|
|
|
color: #000;
|
2019-08-29 06:07:04 +02:00
|
|
|
}
|
2019-09-04 15:26:08 +02:00
|
|
|
|
2019-08-29 06:07:04 +02:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2019-09-04 23:55:49 +02:00
|
|
|
<div class="container">
|
2019-09-04 15:26:08 +02:00
|
|
|
<div class="row mt-4">
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
2019-12-18 11:49:28 +01:00
|
|
|
<img src="$company.logo" style="width:100%; max-width:150px;">
|
2019-09-04 15:26:08 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-4 ml-auto">
|
2019-12-18 11:49:28 +01:00
|
|
|
$invoice_number_label: $number <br>
|
2019-12-14 06:49:48 +01:00
|
|
|
$date_label: $date <br>
|
|
|
|
$due_date_label: $due_date
|
2019-09-04 15:26:08 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row mt-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<b>Client:</b><br>
|
|
|
|
$client_name<br>
|
|
|
|
$address1<br>
|
|
|
|
$address2<br>
|
|
|
|
$city_state_postal<br>
|
|
|
|
$country<br>
|
|
|
|
$vat_number<br>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-4 ml-auto">
|
2019-12-18 11:49:28 +01:00
|
|
|
$company.name<br>
|
|
|
|
$company.address<br>
|
2019-09-04 15:26:08 +02:00
|
|
|
$phone<br>
|
|
|
|
$email<br>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2019-09-03 01:00:52 +02:00
|
|
|
{{--
|
|
|
|
column variables:
|
2019-09-03 05:39:35 +02:00
|
|
|
|
|
|
|
date
|
|
|
|
discount
|
|
|
|
product_key
|
|
|
|
notes
|
2019-09-03 01:00:52 +02:00
|
|
|
cost
|
|
|
|
quantity
|
2019-09-03 08:01:40 +02:00
|
|
|
tax_name1
|
|
|
|
tax_name2
|
2019-09-03 05:39:35 +02:00
|
|
|
line_total
|
|
|
|
custom_label1 ( will show as the following parameter as its value -> custom_invoice_value1 )
|
|
|
|
custom_label2 ( will show as the following parameter as its value -> custom_invoice_value2 )
|
|
|
|
custom_label3 ( will show as the following parameter as its value -> custom_invoice_value3 )
|
|
|
|
custom_label4 ( will show as the following parameter as its value -> custom_invoice_value4 )
|
2019-09-03 01:00:52 +02:00
|
|
|
--}}
|
2019-09-04 07:10:10 +02:00
|
|
|
{!! $invoice->table(['product_key', 'notes', 'cost','quantity', 'discount', 'tax_name1', 'line_total']) !!}
|
2019-08-29 06:07:04 +02:00
|
|
|
|
2019-09-04 15:26:08 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="d-flex justify-content-end ml-auto mr-4">
|
|
|
|
<table class="totals" border="0" cellpadding="5">
|
|
|
|
<tr class="subtotal">
|
|
|
|
<td>$subtotal_label:</td>
|
|
|
|
<td>$subtotal</td>
|
|
|
|
</tr>
|
2019-10-13 12:59:55 +02:00
|
|
|
|
|
|
|
{{-- total_taxes html is populated server side, with a class of total_taxes, you can customise your CSS here to override the defaults--}}
|
|
|
|
|
|
|
|
$total_taxes
|
2019-09-04 15:26:08 +02:00
|
|
|
|
|
|
|
{{-- line_taxes html is populated server side, with a class of line_items, you can customise your CSS here to override the defaults--}}
|
|
|
|
|
|
|
|
$line_taxes
|
|
|
|
|
|
|
|
<tr class="discount">
|
|
|
|
<td>$discount_label:</td>
|
|
|
|
<td>$discount</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="total">
|
|
|
|
<td>$total_label:</td>
|
|
|
|
<td>$total</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="balance">
|
|
|
|
<td>$balance_label:</td>
|
|
|
|
<td>$balance</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2019-09-04 14:01:19 +02:00
|
|
|
</div>
|
2019-08-29 06:07:04 +02:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|