@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 +4 -6
- package/lib/create-invoice/index.js +1 -0
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
|
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);
|