x25 5.0.2 → 5.1.2
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/Header/Header.js
CHANGED
|
@@ -93,7 +93,7 @@ var Header = function Header(_ref) {
|
|
|
93
93
|
{ isOpen: showNavbar, navbar: true },
|
|
94
94
|
_react2.default.createElement(
|
|
95
95
|
"ul",
|
|
96
|
-
{ className: "
|
|
96
|
+
{ className: "ml-auto navbar-nav" },
|
|
97
97
|
_react2.default.createElement(
|
|
98
98
|
"a",
|
|
99
99
|
{ className: "nav-link", href: "/settings/companies" },
|
|
@@ -111,14 +111,14 @@ var Header = function Header(_ref) {
|
|
|
111
111
|
typeof company === "undefined" || company.size === 0 ? null : showNoticeToPay ? _react2.default.createElement(
|
|
112
112
|
"div",
|
|
113
113
|
{ className: "alert alert-warning m-2" },
|
|
114
|
-
"
|
|
114
|
+
"Conform noilor termeni \u0219i condi\u021Bii, abonamentul t\u0103u va expira " + (0, _moment2.default)(company.get("ValabilityDate")).endOf("day").fromNow() + ".\n Pentru a beneficia de serviciul de facturare, achita\u021Bi online sau transfer bancar. ",
|
|
115
115
|
_react2.default.createElement(
|
|
116
116
|
"button",
|
|
117
117
|
{
|
|
118
118
|
className: "btn btn-primary",
|
|
119
119
|
onClick: showPayModal(company.get("ID")),
|
|
120
120
|
type: "button" },
|
|
121
|
-
"
|
|
121
|
+
"Achită abonamentul"
|
|
122
122
|
)
|
|
123
123
|
) : null
|
|
124
124
|
);
|
|
@@ -15,7 +15,8 @@ var up = 3;
|
|
|
15
15
|
|
|
16
16
|
var
|
|
17
17
|
// in LEI 16.01.2019
|
|
18
|
-
|
|
18
|
+
// in LEI 15.03.2022
|
|
19
|
+
pricePerMonth = exports.pricePerMonth = 14.99,
|
|
19
20
|
getPrice = exports.getPrice = function getPrice(months) {
|
|
20
21
|
return parseFloat(new _big2.default(months).times(new _big2.default(pricePerMonth)).round(0, up));
|
|
21
22
|
};
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.
|
|
2
|
+
"version": "5.1.2",
|
|
3
3
|
"name": "x25",
|
|
4
4
|
"description": "x25",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"load": "npm run intern-pre && cd dist && npm publish",
|
|
6
|
+
"load": "npm run intern-pre && cd dist && npm publish --tag=old",
|
|
7
7
|
"load-beta": "npm run intern-pre && cd dist && npm publish --tag beta",
|
|
8
8
|
"check": "npm-check -u -i babel-jest -i jest -i history --specials=bin,eslint,babel,webpack",
|
|
9
9
|
"eslint": "eslint --ext .jsx,.js src --fix",
|