@paro.io/expert-shared-components 1.12.35 → 1.12.36
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.
|
@@ -121,9 +121,6 @@ const ProfileSection = ({ legacyFreelancerId, imageUrl, shouldAllowEditProfile,
|
|
|
121
121
|
" Reviews")))),
|
|
122
122
|
react_1.default.createElement(core_1.Box, { mt: 1, mb: 1 },
|
|
123
123
|
react_1.default.createElement(core_1.Divider, null))),
|
|
124
|
-
react_1.default.createElement(core_1.Box, { ml: 1, display: "flex", justifyContent: "space-between", alignItems: "center", "data-testid": "Matching-Id", style: { marginRight: '10px' } },
|
|
125
|
-
react_1.default.createElement(core_1.Typography, { variant: "body2" }, "Paro Tenure"),
|
|
126
|
-
react_1.default.createElement("b", null, paroTenure.length > 0 ? paroTenure : "N/A")),
|
|
127
124
|
react_1.default.createElement(core_1.Box, { ml: 1, mt: 1, display: "flex", justifyContent: "space-between", alignItems: "center", "data-testid": "Matching-Id", style: { marginRight: '10px' } },
|
|
128
125
|
react_1.default.createElement(core_1.Typography, { variant: "body2" }, isInternal ? 'Hourly Expert Rate' : 'Hourly Rate'),
|
|
129
126
|
react_1.default.createElement("b", null, hourlyRate > 0 ? `$ ${hourlyRate.toLocaleString()}` : "N/A")),
|
|
@@ -36,8 +36,7 @@ const DecisionSection_1 = require("./DecisionSection");
|
|
|
36
36
|
const ClientDisputeProjectCard_1 = require("./ClientDisputeProjectCard");
|
|
37
37
|
const InvoiceCard = ({ clientInvoice, createDisputeChatMessage, user, chatMessages, updateClientInvoiceDisputeMutation, uploadExpertClientFiles, updateInvoiceMutation, getClientInvoiceSummaryByMonth, invoiceSummary, documentUploadUrl, downloadDocumentUrl, isInternal = false, isClient = false, bucketName, reactAppUrl, addClientCredit, isLateDisputeAllowed = false }) => {
|
|
38
38
|
var _a;
|
|
39
|
-
const
|
|
40
|
-
const rolesUrl = `https://app.${envUrl}.io/roles`;
|
|
39
|
+
const rolesUrl = `${reactAppUrl}/roles`;
|
|
41
40
|
const [currentInvoice, setCurrentInvoice] = (0, react_1.useState)(clientInvoice);
|
|
42
41
|
(0, react_1.useEffect)(() => {
|
|
43
42
|
setCurrentInvoice(clientInvoice);
|