Changed date format

Hi,

The date format in the body of our invoice/receipt has changed format. (see attachment) The date at the top of the invoice is still ok.  Can anyone tell me how I change the format?

Sandra.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Changed date format

You need to use ireport to fix this

Open Ireport and open your invoiceitemsA5.jrxml template from your OpenVpms report folder.

when it opens you should see the image in workspace.png attached to this post

Select the field I have in the image. it should have the expression $F{target.startTime}

Look to the right of the workspace for the properties (see workspace2.png)

and find the property 'patten' it is probably set to MM/dd/YY, what you want is dd/MM/YYYY (long version) or dd/MM/YY  (short version)

save the file.

Go it OpenVPMS as an administrator - open administration - open templates and find the Invoice items template select CHOOSE FILE and navigate to the report folder where you just save teh jrxml file, find it and select it.  then press OK.

This will upload the report over the old version that had the incorrect date

AttachmentSize
workspace2.png 35.16 KB
workspace.png 26.61 KB
Syndicate content