CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Generating Receipt#
Pages: [1]

Author Topic: Generating Receipt#  (Read 887 times)

ansm

  • Guest
Generating Receipt#
March 16, 2009, 11:07:18 am
Hello,
for my business workflow I need to refer to receipt by number.  Is there anyway to show this in the receipt email?
Thanks
ps
I mostly have payments by cheque.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Generating Receipt#
March 16, 2009, 01:11:18 pm

enable smarty debug and see if we expose the 'contribution id' to smarty. If so, you can use that id directly in the smarty template. if not, you'll need to expose the contribution id in the php code (via a hack or a hook) and then use it in smarty

there was a forum discussion on this (along with code) a couple of months back. a quick search did not find it :(

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Generating Receipt#

This forum was archived on 2017-11-26.