Custom sales invoice
HTML
<script src="http://ajax.aspnetcdn.com/ajax/knockout/knockout-3.0.0.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<style>
@import url('https://fonts.googleapis.com/css?family=Nunito');
</style>
<div style="font-size: 12px; position: relative">
<img style="position: absolute; width: 25%; right: 0px; top: 80px"...
CSS
font-family: 'Nunito', sans-serif;
JavaScript
ko.applyBindings({
Seller: 'ACME Corporation',
SellerContactDetails: ['1313 Webfoot Walk', 'Duckburg', 'Calisota'],
SellerLogoUrl: 'business-logo?FileID=c6545179-0ba4-4cda-81a2-f07874f81a1e',
DueDate: '24/07/2014',
IssueDate: '27/06/2014',
Number: '1001',
Customer: 'Brilliant Industries',
CustomerAddressLines: ['1 York Street', 'Metropolis'],
Summary: 'Professional services',
Notes: ['Please by due date.', 'Thank you for your business.'],
LineItems: [{
Description: ['Financial planning'],
Qty: '4',
UnitPrice: '100.00',
Discount: '',
Tax: 'VAT 10%',
LineTotal: '400.00'
}, {
Description: ['Tax consulting'],
Qty: '2',
UnitPrice: '120.00',
Discount: '',
Tax: 'VAT 10%',
LineTotal: '240.00'
}],
LineItemsIncludeTax: false,
Subtotal: '640.00',
TaxComponents: [{
Name: 'VAT 10%',
Amount: '64.00'
}],
Total: '704.00'
});