Sfoglia il codice sorgente

minor fix

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi 1 anno fa
parent
commit
36e36921bf
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +2
    -1
      src/components/CreateInvoice/CreateInvoice.tsx
  2. +1
    -1
      src/components/CreateInvoice/ProjectTotalFee.tsx

+ 2
- 1
src/components/CreateInvoice/CreateInvoice.tsx Vedi File

@@ -121,7 +121,8 @@ const CreateInvoice: React.FC = ({
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
Authorization: `Bearer ${accessToken}`
Authorization: `Bearer ${accessToken}`,
Accept: "application/json"
}, },
body: JSON.stringify(tempData), body: JSON.stringify(tempData),


+ 1
- 1
src/components/CreateInvoice/ProjectTotalFee.tsx Vedi File

@@ -37,7 +37,7 @@ const ProjectTotalFee: React.FC= ({}) => {
<Divider sx={{ paddingBlockStart: 2 }} /> <Divider sx={{ paddingBlockStart: 2 }} />
<Stack direction="row" justifyContent="space-between"> <Stack direction="row" justifyContent="space-between">
<Typography variant="h6">{t("Project Total Fee")}</Typography> <Typography variant="h6">{t("Project Total Fee")}</Typography>
<Typography>{moneyFormatter.format(projectTotal += amount)}</Typography>
<Typography>{moneyFormatter.format(amount ? projectTotal += amount : projectTotal)}</Typography>
</Stack> </Stack>
</Stack> </Stack>
); );


Caricamento…
Annulla
Salva