Skip to content

Commit

Permalink
Merge pull request resilient-tech#2017 from resilient-tech/mergify/bp…
Browse files Browse the repository at this point in the history
…/version-14-hotfix/pr-1965

test: test cases for gst sales register beta report (backport resilient-tech#1965)
  • Loading branch information
mergify[bot] authored Apr 11, 2024
2 parents bc52e21 + 7acdd45 commit a3253bc
Show file tree
Hide file tree
Showing 6 changed files with 712 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def test_create_bill_of_entry(self):
pi = create_purchase_invoice(supplier="_Test Foreign Supplier", update_stock=1)

# Create BOE

boe = make_bill_of_entry(pi.name)
boe.items[0].customs_duty = 100
boe.bill_of_entry_no = "123"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
{"item_code": "Test Service Item", "qty": 3, "rate": 500},
{"item_code": "Test Ineligible Service Item", "qty": 2, "rate": 499},
{"item_code": "_Test Trading Goods 1", "qty": 1, "rate": 100},
]
# Item Total
# 20 * 5 + 19 * 3 + 1000 * 1 + 999 * 1 + 500 * 3 + 499 * 2 + 100 * 1 (Default) = 4754
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const INVOICE_TYPE = {
"Deemed Exports",
],
"B2C (Large)": ["B2C (Large)"],
Exports: ["EXPWP", "EXPWOP"],
"Exports": ["EXPWP", "EXPWOP"],
"B2C (Others)": ["B2C (Others)"],
"Nil-Rated, Exempted, Non-GST": ["Nil-Rated", "Exempted", "Non-GST"],
"Credit/Debit Notes (Registered)": ["CDNR"],
Expand Down
Loading

0 comments on commit a3253bc

Please sign in to comment.