Recent Posts by Bec

Subscribe to Recent Posts by Bec 2 post(s) found

Jun 1, 2008
Avatar Bec 2 post(s)

Topic: Liquid Templates / Customising the date in your invoice templates

Just thought I’d share how to customise the date display in your invoices e.g. “1 Jan 2008” instead of “01/01/2008” just in case anyone else wants to do this.

In your templates, instead of this:

{{ invoice.invoice_date | format_date }}

use this (but make the format string how you want it):

{{ invoice.invoice_date | date: "%e %b %Y" }}

Use the usual string date formatting codes e.g. http://au.php.net/strftime (Sorry for the PHP link; I didn’t know a RoR link and this is just a nice summary of the string formats!)

 
May 31, 2008
Avatar Bec 2 post(s)

Topic: Feature Requests / Change font of application interface

I would love to have the ability to customise the font styles in the application interface so when my clients log in they get font styles that are consistent with my business’s other material.