Skip to content

Commit

Permalink
feat: adding comment rendering in the fuels section of the PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed Oct 14, 2020
1 parent 9121f84 commit fa4fd97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/containers/Pdf/PdfFuelFieldsTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ export const PdfFuelFieldsTemplate: React.FunctionComponent<Props> = ({
<Text style={{fontSize: 15, letterSpacing: 2}}>
{'\n'}Fuel:{'\n'}
</Text>
{formData.comments ? (
<Text style={{marginBottom: 2, marginTop: 2}}>
{`comments: ${formData.comments}`}
{'\n'}
</Text>
) : null}

<Text>
Fuel Name:{' '}
{formData.fuelRowId
Expand Down

0 comments on commit fa4fd97

Please sign in to comment.