@unimaze/billing 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,18 +5,16 @@
5
5
  - "axios": "^0.19.2",
6
6
  - "react": "16.13.1",
7
7
  - "react-dom": "16.13.1",
8
- - "react-intl": "^2.9.0",
9
- - "react-intl.macro": "^0.3.7"
8
+ - "react-intl": "^2.9.0"
10
9
 
11
10
  ## Components ##
12
11
  ### `<CreateInvoice />` ###
13
12
 
14
- Component for creating a form for creating an invoice and submitting it to the MAPI transaction services
13
+ A form for creating an invoice and submitting it to the MAPI transaction services
15
14
 
16
15
  |Property |Description |Type |Default |
17
16
  |:----------------------|:------------------------------------------------------|:------------------------------------------------------|:----------|
18
- |customer |Sets the Invoice customer |Object `ProfileOutput` | |
17
+ |customers |Sets the Invoice customers |Array `ProfileOutputWithApiKey` | |
19
18
  |language |Sets the language of the component |`en` `is` `pl` `undefined` |`en` |
20
19
  |mapiBaseUrl |Url of the MAPI |string | |
21
- |rapiBaseUrl |Url of the RAPI |string | |
22
- |apiKey |MAPI api key |string | |
20
+ |rapiBaseUrl |Url of the RAPI |string | |
@@ -153,6 +153,7 @@ var CreateInvoice = function (props) {
153
153
  setChosenCustomerApiKey(undefined);
154
154
  setBillingLinesDataSource([__assign({}, initialBillingLineData, { key: 0 })]);
155
155
  setBillingLinesEditableIndex(0);
156
+ location.reload();
156
157
  })
157
158
  .catch(function (error) {
158
159
  setSubmitting(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unimaze/billing",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",