mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-27 10:33:12 +00:00
60 lines
2.2 KiB
TypeScript
60 lines
2.2 KiB
TypeScript
export class InvoiceFakeDb
|
|
{
|
|
public static invoice = {
|
|
'from' : {
|
|
'title' : 'Fuse Inc.',
|
|
'address': '2810 Country Club Road Cranford, NJ 07016',
|
|
'phone' : '+66 123 455 87',
|
|
'email' : 'hello@fuseinc.com',
|
|
'website': 'www.fuseinc.com'
|
|
},
|
|
'client' : {
|
|
'title' : 'John Doe',
|
|
'address': '9301 Wood Street Philadelphia, PA 19111',
|
|
'phone' : '+55 552 455 87',
|
|
'email' : 'johndoe@mail.com'
|
|
},
|
|
'number' : 'P9-0004',
|
|
'date' : 'Jul 19, 2015',
|
|
'dueDate' : 'Aug 24, 2015',
|
|
'services': [
|
|
{
|
|
'title' : 'Prototype & Design',
|
|
'detail' : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus accumsan, quam sed eleifend imperdiet.',
|
|
'unit' : 'Hour',
|
|
'unitPrice': '12.00',
|
|
'quantity' : '240',
|
|
'total' : '2880'
|
|
},
|
|
{
|
|
'title' : 'Coding',
|
|
'detail' : 'Vestibulum ligula sem, rutrum et libero id, porta vehicula metus. Cras dapibus neque sit amet laoreet vestibulum.',
|
|
'unit' : 'Hour',
|
|
'unitPrice': '10.50',
|
|
'quantity' : '350',
|
|
'total' : '3675'
|
|
},
|
|
{
|
|
'title' : 'Testing',
|
|
'detail' : 'Pellentesque luctus efficitur neque in finibus. Integer ut nunc in augue maximus porttitor id id nulla. In vitae erat.',
|
|
'unit' : 'Hour',
|
|
'unitPrice': '4.00',
|
|
'quantity' : '50',
|
|
'total' : '200'
|
|
},
|
|
{
|
|
'title' : 'Documentation & Training',
|
|
'detail' : 'Pellentesque luctus efficitur neque in finibus. Integer ut nunc in augue maximus porttitor id id nulla. In vitae erat.',
|
|
'unit' : 'Hour',
|
|
'unitPrice': '6.50',
|
|
'quantity' : '260',
|
|
'total' : '1690'
|
|
}
|
|
],
|
|
'subtotal': '8445',
|
|
'tax' : '675.60',
|
|
'discount': '120.60',
|
|
'total' : '9000'
|
|
};
|
|
}
|