Skip to content

Commit

Permalink
feat: description on receipt line
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed Apr 29, 2019
1 parent 0d76456 commit f2bbfa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/container/SalesContainer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ export default class SalesContainer extends React.Component {
const { defaultReceipt } = this.props.receiptStore;

const line = ReceiptLine.create({
item: index._id,
item: index.name,
sold_by: index.soldBy,
item_name: index.name,
item_name: index.description,
qty: parseInt(1, 10),
price: parseFloat(index.price),
date: Date.now(),
Expand Down

0 comments on commit f2bbfa8

Please sign in to comment.