Jump to content

Recommended Posts

Posted

Hello

the function createFromServices() is wonderful , but i need a small adjustment , this function generate a invoice for extanding the period for 1 (quantity)  term . it would be perfect to add a new var to set quantity . let say i have a package term 1 year, i want to genereta invoice for 3 years , the only solution is that i need to run the fucntion 3 times and generate 3 invocies . i know this is related to getLinesForServices() ($service->qty) , and adding such function can open the door to some locked task like allow clients/admins to generate a invoice for renewal  before the renew date .

Posted

I don't think a quantity adjustment is suitable in createFromServices. The invoicing would become much more complex if quantity had to be considered there. It is not meant to consider input variables since it is dependent on the service information. Eventually, this functionality will be removed for a better solution yet to be created.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...