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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviEvent: retain line items after deleting payment
Pages: [1]

Author Topic: CiviEvent: retain line items after deleting payment  (Read 601 times)

TwoMice

  • I post frequently
  • ***
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
CiviEvent: retain line items after deleting payment
November 01, 2011, 02:43:08 pm
It looks like CiviEvent is wiping line items after deleting a payment, but I think it would be better if it could remember them. 

To explain more:
  • If I create a registration and select certain options from the event price set, then save the registration without recording a payment, I can still go back and view and/or edit those price set options.
  • Once I've recorded a payment, the price set options aren't editable, unless I delete the payment record.
  • When I delete the payment record, the price set options are all cleared, and although I can choose any I want, I can't see what was originally selected.  I could decipher it by looking at the Fee Level and Amount fields for the registration, but the price set options (line items) themselves are all cleared out.

This behavior seems odd, and probably unintentional. Or maybe it should just be explained better: Why should the options be completely forgotten upon deleting payment, if they could be retained before the payment was recorded?

What might be the potential downsides of patching this so that behavior after deleting payment is the same as before recording the payment?

- Allen
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: CiviEvent: retain line items after deleting payment
November 01, 2011, 03:43:06 pm
+1
that makes sense to me
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviEvent: retain line items after deleting payment

This forum was archived on 2017-11-26.