Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quote1.itemized_quote = [
- {
- current : {
- timestamp: 123124,
- info : [
- {
- name: "Package A",
- lineitems: [
- {
- name: 'Item 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- },
- {
- name: 'Item 2',
- subitems: [
- {
- name: 'subItem 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- {
- name: 'subItem 2',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- ]
- }
- ],
- discount: '300',
- TotalAmount: '4000'
- }
- {
- name: "Package B",
- lineitems: [
- {
- name: 'Item 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- },
- {
- name: 'Item 2',
- subitems: [
- {
- name: 'subItem 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- {
- name: 'subItem 2',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- ]
- }
- ],
- discount: '300',
- TotalAmount: '4000'
- }
- ]
- }, // current item
- past_item : [
- {
- timestamp: 123124,
- info : [
- {
- name: "Package A",
- lineitems: [
- {
- name: 'Item 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- },
- {
- name: 'Item 2',
- subitems: [
- {
- name: 'subItem 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- {
- name: 'subItem 2',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- ]
- }
- ],
- discount: '300',
- TotalAmount: '4000'
- }
- {
- name: "Package B",
- lineitems: [
- {
- name: 'Item 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- },
- {
- name: 'Item 2',
- subitems: [
- {
- name: 'subItem 1',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- {
- name: 'subItem 2',
- unitprice: '100',
- quantity: '4',
- total: '400'
- }
- ]
- }
- ],
- discount: '300',
- TotalAmount: '4000'
- }
- ]
- }, // current item
- ]
- }
- ]
Add Comment
Please, Sign In to add comment