Skip to content

Commit

Permalink
Release v1.2.0 (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaSedyx authored Dec 4, 2019
1 parent 3228914 commit 12a1c3e
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 18 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"parser": "babel-eslint",
"extends": ["./node_modules/@folio/stripes-acq-components/.eslintrc"]
}
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Change history for ui-invoice

## [1.2.0](https://github.com/folio-org/ui-invoice/tree/v1.2.0) (2019-12-04)
[Full Changelog](https://github.com/folio-org/ui-invoice/compare/v1.1.0...v1.2.0)

### Stories
* [UINV-66](https://issues.folio.org/browse/UINV-66) View invoice adjustments accordion
* [UINV-68](https://issues.folio.org/browse/UINV-68) Create fund distributions based on percentage or amount
* [UINV-71](https://issues.folio.org/browse/UINV-71) Add ability to specify fund distro for non-prorated invoice adjustments
* [UINV-76](https://issues.folio.org/browse/UINV-76) Cannot distinguish between percent and amount adjustments
* [UINV-80](https://issues.folio.org/browse/UINV-80) Update view for Fund distribution information on Invoice and invoice line
* [UINV-78](https://issues.folio.org/browse/UINV-78) Invoices: Update "save and close" and "Cancel" Buttons - UX
* [UINV-81](https://issues.folio.org/browse/UINV-81) Filter invoices by tags
* [UINV-85](https://issues.folio.org/browse/UINV-85) Approve and pay invoice in one click
* [UINV-2](https://issues.folio.org/browse/UINV-2) Duplication checking for vendor invoice number
* [UINV-82](https://issues.folio.org/browse/UINV-82) Display POL number instead of UUID
* [UINV-61](https://issues.folio.org/browse/UINV-61) Invoice View Details: Documents and Links section behavior
* [UINV-83](https://issues.folio.org/browse/UINV-83) Prevent paying with Funds that have insufficient amounts to cover distribution
* [UINV-88](https://issues.folio.org/browse/UINV-88) Date format inconsistent between search and edit screen

### Bug Fixes
* [UINV-64](https://issues.folio.org/browse/UINV-64) Do not allow user to Approve an Invoice in edit screen if status is "Paid"
* [STCOM-590](https://issues.folio.org/browse/STCOM-590) Invoice: MCL column width updates
* [UINV-42](https://issues.folio.org/browse/UINV-42) Shouldn't be allowed to add invoiceLines to an "approved" or "paid" invoice
* [UINV-65](https://issues.folio.org/browse/UINV-65) Show valid error message on "Approve" Invoice if voucher prefix is invalid
* [UIOR-365](https://issues.folio.org/browse/UIOR-365) fix acq units loading
* [UINV-72](https://issues.folio.org/browse/UINV-72) Change application menu name to plural
* [UINV-89](https://issues.folio.org/browse/UINV-89) Settings: Spelling mistake

## [1.1.0](https://github.com/folio-org/ui-invoice/tree/v1.1.0) (2019-09-11)
[Full Changelog](https://github.com/folio-org/ui-invoice/compare/v1.0.0...v1.1.0)

Expand Down
17 changes: 4 additions & 13 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<!--
If you have a relevant JIRA issue number, please put it in the issue title.
Example: MODGOBI-43 Move "Renewals" information to Purchase Order level
TL;DR
- https://www.youtube.com/watch?v=5aHmO_S8FQ4
- http://www.olitreadwell.com/2016/05/22/how-to-write-great-pull-requests/
- https://www.atlassian.com/blog/git/written-unwritten-guide-pull-requests
Example: MODORDERS-70 Orders schema updates
-->

## Purpose
Expand All @@ -23,7 +18,7 @@
section."
If you have a relevant JIRA issue, add a link directly to the issue URL here.
Example: https://issues.folio.org/browse/UINV-1
Example: https://issues.folio.org/browse/MODORDERS-70
-->

## Approach
Expand Down Expand Up @@ -52,17 +47,13 @@

## Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.

- [ ] I've added appropriate record to the CHANGELOG.md
- Does this PR meet or exceed the expected quality standards?
- [ ] Code coverage on new code is 80% or greater
- [ ] Duplications on new code is 3% or less
- [ ] There are no major code smells or security issues
- Does this introduce breaking changes?
- [ ] Were any API paths or methods changed, added or removed?
- [ ] Were there any schema changes?
- [ ] Did any of the interface versions change?
- [ ] Were permissions changed, added, or removed?
- [ ] Are there new interface dependencies?
- [ ] If any API-related changes - okapi interfaces and permissions are reviewed/changed correspondingly
- [ ] There are no breaking changes in this PR.

If there are breaking changes, please **STOP** and consider the following:
Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@folio/invoice",
"version": "1.1.0",
"version": "1.2.0",
"description": "Invoice",
"main": "src/index.js",
"repository": {
Expand Down Expand Up @@ -30,7 +30,9 @@
"chai": "^4.2.0",
"eslint": "^5.6.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-jest": "^23.0.4",
"eslint-plugin-no-only-tests": "^2.3.0",
"eslint-plugin-react-hooks": "^2.0.1",
"mocha": "^5.2.0",
"react": "^16.5.1",
"react-dom": "^16.5.1",
Expand Down Expand Up @@ -63,10 +65,12 @@
"okapiInterfaces": {
"acquisitions-units": "1.1",
"configuration": "2.0",
"invoice": "3.0",
"invoice": "3.0 3.1",
"finance.funds": "1.0",
"orders": "8.0",
"organizations-storage.organizations": "2.1",
"users": "15.0",
"organizations-storage.organizations": "2.1 2.2",
"tags": "1.0",
"users": "15.0 15.1",
"voucher-number": "1.0",
"voucher": "2.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/invoices/InvoicesList/Invoice/InvoiceEditLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function InvoiceEditLayer({
useEffect(() => {
mutator.invoiceDocuments.reset();
mutator.invoiceDocuments.GET();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

const [isNotUniqueOpen, toggleNotUnique] = useModalToggle();
Expand Down

0 comments on commit 12a1c3e

Please sign in to comment.