Jump to content

Invoice : Show Description if Is Renew Or New Service/Registration


Blesta Addons

Recommended Posts

it would be nice and perfect if the line description in the invoice show if the invoice is for Renew or Registration/Activation (First Order).

we have a lot of resellers and a lot of them request this, because a lot of invoice and they should log to the system to see if is a new activation or is for a existing service (renew), they claim because other providers send them invoice that show that, i don't know if the other providers has WHMxx or other billing software . but i found the idea is very helpful in term of management .

Link to comment
Share on other sites

  • 1 month later...

after a check for blesta code, we have found that blesta use two language difinition description. for new created service

$lang['Invoices.!line_item.service_created_description'] = '%3$s%1$s - %2$s'; // %1$s is the name of the package, %2$s is the name of the service, %3$s is the addon identifier set only for addon services

that result in

Package Name - Service Label

for renewal service

$lang['Invoices.!line_item.service_renew_description'] = '%5$s%1$s - %2$s (%3$s - %4$s)'; // %1$s is the name of the package, %2$s is the name of the service, %3$s is the service's renew date, %4$s is the service's next renew date, %5$s is the addon identifier set only for addon services

the result

Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)

but all invoices generated have a one format , is the renewal one .

i have missed something in this ? or is a bug ?

Link to comment
Share on other sites

Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)

This language is shown for any service (newly created, or renewing) that is of a term that is renewable (e.g. 1 month).

Package Name - Service Label

This language is shown for any one-time service that does not renew. All of the service line items start with that description, but are overwritten with the renewal one if they span over a date range.

Link to comment
Share on other sites

What would you expect to see for indicating whether a line item is a new service or a renewing one?

[New] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)
[Renewal] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)
[New] Package Name - Service Name
[Renewal] Package Name - Service Name

 

Link to comment
Share on other sites

On 5/30/2018 at 4:52 PM, Tyson said:

What would you expect to see for indicating whether a line item is a new service or a renewing one?


[New] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)
[Renewal] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)

[New] Package Name - Service Name
[Renewal] Package Name - Service Name

 

Perfect . This is my attention .

Link to comment
Share on other sites

  • 3 weeks later...

Do you think other line items apart of the service should indicate [New] or [Renewal] too? Like configurable options:

[New] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)
[New] ↳ Config Option - Value (Apr 12, 2018 - Apr 12, 2019)
[Renewal] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)
[Renewal] ↳ Config Option - Value (Apr 12, 2018 - Apr 12, 2019)
Link to comment
Share on other sites

14 hours ago, Tyson said:

Do you think other line items apart of the service should indicate [New] or [Renewal] too? Like configurable options:


[New] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)
[New] ↳ Config Option - Value (Apr 12, 2018 - Apr 12, 2019)

[Renewal] Package Name - Service Name (Apr 12, 2018 - Apr 12, 2019)
[Renewal] ↳ Config Option - Value (Apr 12, 2018 - Apr 12, 2019)

it would nice, but if not is not a problem as the child service or the config option they are part of the main service. so they will inherit the status.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...