Jump to content

Recommended Posts

Posted

it would be usefull is blesta add to the days list in Invoice and Charge Options another option "0 day" .

 

that way we can select the suspension set to "0 day" , the service will be suspended the same day in expiration , add to not wait 24Hours to make the suspension , the same for the other list .

 

that way we can ignore the 24 hour difference between to calender days .

 

 

i remember that another user has request a negative value for this list "- 2 days".

 

 

Posted

Do you want to suspend a service before the invoice for it is due? I believe the setting that controls this behavior is called "Suspend Services Days After Due", meaning suspension should occur after the invoice is due and not before.

 

In what cases would you find suspending the service before the invoice is due useful? If the problem you're having is with the way suspended services are not based on calendar day, but a 24 hour difference, then I think a possible resolution here is to update it to respect the calendar day instead.

Posted

Hello tyson ...

 

if i set it to 0 day , i think logically it will be suspended in the same day of overdue invoice ?

 

what i need is the service suspend in the next calendar day of invoice due , and not after 24 hours .

 

i need a urgent fix because this is trivial for some services we have .

 

what is the best solution for us ?

Posted

 

 If the problem you're having is with the way suspended services are not based on calendar day, but a 24 hour difference, then I think a possible resolution here is to update it to respect the calendar day instead.

 

how  ?

Posted

An invoice that is due today, at midnight, means (in Blesta) that it is due any time today. However, if you set the Suspend Services Days After Due setting to a value of '0', it will suspend services whose invoices are due (earlier) today. I don't think that is what you want.

 

 

how  ?

 

You would have to update Services::getAllPendingSuspension to fetch invoices that are due before the suspension date at the end of the day.

Posted

An invoice that is due today, at midnight, means (in Blesta) that it is due any time today. However, if you set the Suspend Services Days After Due setting to a value of '0', it will suspend services whose invoices are due (earlier) today. I don't think that is what you want.

 

for me i can make the suspend time at 23:55 at that can make me happy at least until the blesta do something in the core .

 

You would have to update Services::getAllPendingSuspension to fetch invoices that are due before the suspension date at the end of the day.

 

hacking core file is not my way .

 

but i prefer a solution that is integrated in the system , i can wait it in v4 .

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...