Skip to content

Commit

Permalink
fix(invoice): VAT lost and discount not shown on print
Browse files Browse the repository at this point in the history
  • Loading branch information
feugy committed Sep 4, 2018
1 parent fe06b0c commit 08ec537
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app/script
app/style
app/vendor
data-test/
node_modules
node_modules*
test/fixture/out.*
test/script
test/vendor
Expand Down
4 changes: 3 additions & 1 deletion app/src/directive/invoice_item.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ class InvoiceItemDirective
#
# @param option {Object} option assigned to current edited values
prefill: (option) =>
Object.assign @src, option, label: undefined
@src.name = option.name
@src.quantity = option.quantity
@src.price = option.price

# check if field is missing or not
#
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dancerm",
"version": "4.7.0",
"version": "4.7.1",
"author": "Feugy <[email protected]>",
"description": "DanceRM is a very simple Customer Relationship software specialized for dance schools",
"repository": {
Expand Down

0 comments on commit 08ec537

Please sign in to comment.