Showing the payment_date field

  • Hilmar Schneider
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 weeks ago #124072 by Hilmar Schneider
Showing the payment_date field was created by Hilmar Schneider
When I export the subscriptions there is a payment date field. I assume it's set automatically now but there are cases when I need to explicitly set it. For example, on a manual update (when a renewal is by paper and cheque) the payment date should match the date the cheque was deposited, not the date the Membership Pro subscription was updated. Otherwise it is difficult to reconcile bank statements.

Is it possible to show the payment date field for administrators? Is it possible to make it a mandatory field?

Similarly, is it possible to remove fields from view? There are payment fields that we don't use (tax_amount, discount_amount) and I would like to remove unused fields.

Thanks.

Please Log in or Create an account to join the conversation.

More
5 years 2 weeks ago #124082 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Showing the payment_date field
Hi Hilmar

There word be modifications to the code needed if you want to have it works like that. The file you need to modify is administrator/components/com_osmembership/view/subscription/tmpl/default.php

Try to modify it, to at least remove the fields you don't want

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Hilmar Schneider
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 weeks ago #124084 by Hilmar Schneider
Replied by Hilmar Schneider on topic Showing the payment_date field
Thanks, I'll have a look tomorrow.

Please Log in or Create an account to join the conversation.

More
5 years 2 weeks ago #124086 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Showing the payment_date field
OK Hilmar. If you have any other questions, please don't hesitate to ask

Tuan

Please Log in or Create an account to join the conversation.

  • Hilmar Schneider
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 weeks ago #124104 by Hilmar Schneider
Replied by Hilmar Schneider on topic Showing the payment_date field
After more discussion with the testers, the issue isn't changing the editing the payment_date field.

When an admin does a manual (offline) subscription renewal the payment_date is cleared. On a new subscription (user or admin) the payment_date is set. On a user initiated renewal the payment_date is set. On an admin manual renewal the payment_date is left blank.

I see this as a bug. What file should I be looking at?

Please Log in or Create an account to join the conversation.

More
5 years 2 weeks ago #124107 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Showing the payment_date field
The question here is how admin does offline payment renewal? What's the status of the subscription record when he did offline payment renewal?

Tuan

Please Log in or Create an account to join the conversation.

  • Hilmar Schneider
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 weeks ago #124109 by Hilmar Schneider
Replied by Hilmar Schneider on topic Showing the payment_date field
The status of the subscription is active.
I sign in the back end as admin,
go to Subscription Manager: Subscriptions,
export the subscriptions to check the payment_date,
check a subscription
and click renew subscription.

The to_date increments (annual subscriptions). When I export the subscriptions the payment_date for that user is now blank.

Please Log in or Create an account to join the conversation.

  • Hilmar Schneider
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 2 weeks ago #124110 by Hilmar Schneider
Replied by Hilmar Schneider on topic Showing the payment_date field
The version of Membership Pro is 2.17.1 and Joomla is 3.9.4

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #124229 by Roger Clarke
Replied by Roger Clarke on topic Showing the payment_date field
Hi Tuan,
I have exactly the same issue as Hilmar. I have found that the payment date is not set for an offline payment if the admin uses the Publish button to set the pending record to active, but if they edit the subscription and change the status from pending to active then a payment date is recorded.
Please will you amend the processing for the Publish button so that the payment date is also set when the Publish button is used to activate an offline membership?
Thanks,
Roger

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #124234 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Showing the payment_date field
Hi Roger

What version of the extension you are using? Just look at code of latest version and I see that we already have it works like that already

So maybe it happens because you haven't updated your site to latest version of Events Booking yet?

Tuan

Please Log in or Create an account to join the conversation.