diff --git a/src/container/SalesContainer/index.js b/src/container/SalesContainer/index.js index 41530f7..086876f 100644 --- a/src/container/SalesContainer/index.js +++ b/src/container/SalesContainer/index.js @@ -676,9 +676,7 @@ export default class SalesContainer extends React.Component { defaultReceipt.clear(); for (let i = 0; i < items.length; i++) { - defaultReceipt.add( - orderItemToReceiptItem(items[i]) - ); + defaultReceipt.add(orderItemToReceiptItem(items[i])); } }; diff --git a/src/services/tailorder.js b/src/services/tailorder.js index 0845208..70beb47 100644 --- a/src/services/tailorder.js +++ b/src/services/tailorder.js @@ -68,7 +68,7 @@ exports.orderItemToReceiptItem = function(item) { item_name: item.item_name, price: item.rate, qty: item.qty, - date: item.creation + date: item.creation, }; };