Skip to content

Commit

Permalink
fix invoice reason label
Browse files Browse the repository at this point in the history
  • Loading branch information
maieutiquer committed Feb 12, 2023
1 parent 9a882d1 commit 2337b14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ManualInvoiceModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export function ManualInvoiceModal({

setValue(
'customClientAddress',
// TODO: calculate custom client address on the server instead
`${name}\n${addressTitle ? `${addressTitle}\n` : ''}${
postalAddressDepartment ? `${postalAddressDepartment}\n` : ''
}${postalAddressStreet ? `${postalAddressStreet}\n` : ''}${
Expand Down Expand Up @@ -261,7 +262,7 @@ export function ManualInvoiceModal({
/>
</Form.Group>
<Form.Group className="mb-3" controlId="reason">
<Form.Label>Type de facture</Form.Label>
<Form.Label>Raison</Form.Label>
<Controller
name="reason"
control={control}
Expand Down

0 comments on commit 2337b14

Please sign in to comment.