Jump to content

Richzendy

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by Richzendy

  1. Hi, thanks for your response @Adam, Sorry, maybe i don't explain me very well. I don't want to change the service price, i only want to add new items to the bill. Actually the service to my module create a service bill at the end of the billing cycle and i have a cron to run later and this cron create custom invoices to extra charges like calls and DID numbers, but i want to a unique bill to the service with all items to avoid extra fees if the client use a credit card to pay for all, i want a total amount to all items and a unique payment.
  2. Follow up... this can be done on a module? https://docs.blesta.com/display/dev/Plugin+Events Or is only to plugins?
  3. Hi all, i'm reading this thread: But don't have replies (and is very old, from 2014) and is something similar about i want, i need to add usable items like calls from a pbx service on a recurrent bills, but can be for example on a hosting company adding the usage charges of bandwidth, how i can manage this? how i can catch the invoice before is created and add extra items? i need to add the call log and add a partial and total price from all calls on the billing period, i see this Event Handler Invoices.add on https://docs.blesta.com/display/dev/Event+Handlers But i don't know how
  4. Hi! thank you, is working now, but to create a new ticket a details is needed, this can be all code to create a new ticket: $ticket_data = [ 'department_id' => 1, 'staff_id' => 1, // This field is optional 'service_id' => 38, // This field is optional 'client_id' => 1, // This field is optional 'summary' => 'This a new Requirement', 'priority' => 'high', 'status' => 'open', ]; $ticket_repply = [ 'details' => 'Hi, I need a new Requirement' ]; Loader::loadModels($this, ['SupportManager.SupportManagerTickets']); $ticket = $this-&
  5. Hi all, How this: $this->uses(['SupportManager.SupportManagerTickets']); Can be used from a module? i can make a button on a client tab just to create a ticket with a format to require something with a pre-defined data.
  6. Hi, i'm making a module, and i have a configurable option to add a extra in a service, but this add-on must be created by a support member from our side manually and i want to create a support ticket to our admin staff when this bill is full paid. How i can make this? i'm looking the "Events Handlers" https://docs.blesta.com/display/dev/Event+Handlers But i don't know if this events: "Services.edit" or "Invoices.edit" can be useful to this, in fact i don't know how to use this events on my module, someone have a clue?
×
×
  • Create New...