Templating

  • Displaying Dates in Other Formats

    By default, Ronin templates use English formatted dates. For example, the Invoice Date is rendered in Liquid as: {{ invoice.date | date: "%B %e, %Y" }} date accepts the same parameters as Ruby's strftime method. You can find a list of the shorthand formats in Ruby's documentation or use a sit...
  • Invoice Item Dates

    If you commonly generate invoice items from project hours, you may want to create a column in your invoice for the date of the original project hours entry that generated the invoice item. One caveat to consider is that, in Ronin, an invoice item may come from multiple project items collapsed in...
  • Variables

    Every object has various attributes that can be accessed via templates. For example, to access the address attribute of the client object, use {{ client.address }} Client name, address, address_2, city, state, zip, country, invoice_extra_fields, number, website, invoices, amount_outstanding, am...