Skip to content

Commit

Permalink
Update preview.component.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyowen committed Apr 25, 2022
1 parent 11abf72 commit 5f34cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/preview.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Preview = () => {
template.getCell('F5').value = data.customer.address;
template.getCell('F6').value =
data.customer.idNumber + ' / ' + data.customer.taxId;
template.getCell('E24').value = data.invoiceDate
template.getCell('E22').value = data.invoiceDate
? 'Medan, '.concat(
new Date(data.invoiceDate)!.toLocaleDateString('id-ID', {
year: 'numeric',
Expand Down

0 comments on commit 5f34cb0

Please sign in to comment.